commit 5cf29cab5266a19a1f3d44579672baadfc31e711 from: chris date: Fri Jun 09 16:05:44 2023 UTC Remove ndp repeat (unused) ok stsp@ commit - 015e4f4fbea6473a68e4556b811f26161299464b commit + 5cf29cab5266a19a1f3d44579672baadfc31e711 blob - 08a8eeadc3a77901cf171e887a0c1da7f75c648b blob + 12cb1e03490fef9efe69c70e044d33107b0acec6 --- ndp.c +++ ndp.c @@ -111,7 +111,6 @@ static int tflag; static int rtsock = -1; -static int repeat = 0; char host_buf[NI_MAXHOST]; /* getnameinfo() */ char ifix_buf[IFNAMSIZ]; /* if_indextoname() */ @@ -371,7 +370,6 @@ ndpdump(struct sockaddr_in6 *addr, int cflag) 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; @@ -543,13 +541,6 @@ again:; printf("\n%% %s: failed to get neighbor information\n", routename6(sin)); - if (repeat) { - printf("\n"); - fflush(stdout); - sleep(repeat); - goto again; - } - free(buf); }