commit - 015e4f4fbea6473a68e4556b811f26161299464b
commit + 5cf29cab5266a19a1f3d44579672baadfc31e711
blob - 08a8eeadc3a77901cf171e887a0c1da7f75c648b
blob + 12cb1e03490fef9efe69c70e044d33107b0acec6
--- ndp.c
+++ ndp.c
static int tflag;
static int rtsock = -1;
-static int repeat = 0;
char host_buf[NI_MAXHOST]; /* getnameinfo() */
char ifix_buf[IFNAMSIZ]; /* if_indextoname() */
W_ADDR, W_ADDR, "Neighbor", W_LL, W_LL, "Linklayer Address",
W_IF, W_IF, "Netif", "Expire", "S", "Flags");
-again:;
lim = NULL;
mib[0] = CTL_NET;
mib[1] = PF_ROUTE;
printf("\n%% %s: failed to get neighbor information\n",
routename6(sin));
- if (repeat) {
- printf("\n");
- fflush(stdout);
- sleep(repeat);
- goto again;
- }
-
free(buf);
}