summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-09-01 01:24:05 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-09-01 01:24:05 +0000
commitb1495ce6fb3d466e88df64bd4ccc013593b4e556 (patch)
tree9e9782437b1bf3f7d72300669175fd664583a2c4 /usr.sbin/rtadvd
parenta3147d41507273e7aa258d13ee0c31053f008d01 (diff)
repair a routine to grab interface MTU information.
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r--usr.sbin/rtadvd/if.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rtadvd/if.c b/usr.sbin/rtadvd/if.c
index 566eb6d97fe..849c4b7e8d4 100644
--- a/usr.sbin/rtadvd/if.c
+++ b/usr.sbin/rtadvd/if.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: if.c,v 1.5 2000/07/06 10:14:46 itojun Exp $ */
-/* $KAME: if.c,v 1.11 2000/07/06 08:20:04 jinmei Exp $ */
+/* $OpenBSD: if.c,v 1.6 2000/09/01 01:24:04 itojun Exp $ */
+/* $KAME: if.c,v 1.12 2000/08/31 16:35:29 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -147,7 +147,7 @@ if_nametosdl(char *name)
int
if_getmtu(char *name)
{
-#if 0
+#ifdef SIOCGIFMTU
struct ifreq ifr;
int s;