Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

repair interface MTU lookup. still not 100% sure about platform diffs.

(for netbsd at least. ifa->ifa_data is empty)
  • Loading branch information...
commit 0da35fee78bd775c66377d85f59c21e2cf137217 1 parent 7df6e6b
itojun authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 kame/kame/rtadvd/if.c
View
4 kame/kame/rtadvd/if.c
@@ -1,4 +1,4 @@
-/* $KAME: if.c,v 1.11 2000/07/06 08:20:04 jinmei Exp $ */
+/* $KAME: if.c,v 1.12 2000/08/31 16:35:29 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -146,7 +146,7 @@ if_nametosdl(char *name)
int
if_getmtu(char *name)
{
-#if 0
+#ifdef SIOCGIFMTU
struct ifreq ifr;
int s;
Please sign in to comment.
Something went wrong with that request. Please try again.