summaryrefslogtreecommitdiff
path: root/sys/netiso/if_eon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netiso/if_eon.c')
-rw-r--r--sys/netiso/if_eon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c
index 7d1bcf79aad..c01712b8f41 100644
--- a/sys/netiso/if_eon.c
+++ b/sys/netiso/if_eon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_eon.c,v 1.15 2002/03/26 19:12:56 niklas Exp $ */
+/* $OpenBSD: if_eon.c,v 1.16 2002/07/31 00:13:37 itojun Exp $ */
/* $NetBSD: if_eon.c,v 1.15 1996/05/09 22:29:37 scottr Exp $ */
/*-
@@ -305,7 +305,7 @@ eonrtrequest(cmd, rt, info)
el->el_rt = rt;
break;
}
- if (info || (gate = info->rti_info[RTAX_GATEWAY])) /*XXX*/
+ if (info && (gate = info->rti_info[RTAX_GATEWAY])) /*XXX*/
switch (gate->sa_family) {
case AF_LINK:
#define SDL(x) ((struct sockaddr_dl *)x)