summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/route.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-01-19 02:59:34 +0000
committerbrian <brian@FreeBSD.org>1998-01-19 02:59:34 +0000
commita4acc2b6f976579bebc0c80d90760486a832f261 (patch)
tree477af83ef0de4914fc1dd987f702873c9eb2f7c4 /usr.sbin/ppp/route.c
parent3ef8b0b8d77df5d4f852819e42dab40f2665ce13 (diff)
downloadFreeBSD-src-a4acc2b6f976579bebc0c80d90760486a832f261.zip
FreeBSD-src-a4acc2b6f976579bebc0c80d90760486a832f261.tar.gz
Reimplement proxy-arp address stuff using sysctl().
Diffstat (limited to 'usr.sbin/ppp/route.c')
-rw-r--r--usr.sbin/ppp/route.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c
index 16c3a9e..2aa2709 100644
--- a/usr.sbin/ppp/route.c
+++ b/usr.sbin/ppp/route.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: route.c,v 1.39 1998/01/11 02:59:22 brian Exp $
+ * $Id: route.c,v 1.40 1998/01/11 04:45:36 brian Exp $
*
*/
@@ -54,7 +54,6 @@
#include "route.h"
static int IfIndex;
-static const char *Index2Nam(int);
struct rtmsg {
struct rt_msghdr m_rtm;
@@ -308,7 +307,7 @@ p_flags(u_long f, int max)
}
}
-static const char *
+const char *
Index2Nam(int idx)
{
static char **ifs;
OpenPOWER on IntegriCloud