diff options
-rw-r--r-- | usr.sbin/ndp/ndp.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index da03a3eda3c..937213e871c 100644 --- a/usr.sbin/ndp/ndp.c +++ b/usr.sbin/ndp/ndp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ndp.c,v 1.86 2017/08/09 17:35:38 jmc Exp $ */ +/* $OpenBSD: ndp.c,v 1.87 2017/10/25 12:09:07 mpi Exp $ */ /* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */ /* @@ -135,7 +135,6 @@ void usage(void); int rtmsg(int); int rtget(struct sockaddr_in6 **, struct sockaddr_dl **); void ifinfo(char *); -void harmonize_rtr(void); static char *sec2str(time_t); static void ts_print(const struct timeval *); static int rdomain; @@ -908,21 +907,6 @@ ifinfo(char *ifname) close(s); } -void -harmonize_rtr(void) -{ - char dummyif[IFNAMSIZ+8]; - int s; - - if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) - err(1, "socket"); - strlcpy(dummyif, "lo0", sizeof(dummyif)); /* dummy */ - if (ioctl(s, SIOCSNDFLUSH_IN6, (caddr_t)&dummyif) < 0) - err(1, "ioctl(SIOCSNDFLUSH_IN6)"); - - close(s); -} - static char * sec2str(time_t total) { |