summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/port-tun.c')
-rw-r--r--openbsd-compat/port-tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/port-tun.c b/openbsd-compat/port-tun.c
index 49e7b4d99..a444adf1d 100644
--- a/openbsd-compat/port-tun.c
+++ b/openbsd-compat/port-tun.c
@@ -68,7 +68,7 @@ sys_tun_open(int tun, int mode)
68 return (-1); 68 return (-1);
69 } 69 }
70 70
71 bzero(&ifr, sizeof(ifr)); 71 bzero(&ifr, sizeof(ifr));
72 72
73 if (mode == SSH_TUNMODE_ETHERNET) { 73 if (mode == SSH_TUNMODE_ETHERNET) {
74 ifr.ifr_flags = IFF_TAP; 74 ifr.ifr_flags = IFF_TAP;