From: osdl.net!shemminger Date: Thu, 10 Mar 2005 19:07:43 +0000 (+0000) Subject: NDA_PROBES not defined yet, so work around. X-Git-Tag: v2_6_11-050310~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60f1317aaa15da04fc08eba3ab736fd25d2c18d1;p=thirdparty%2Fiproute2.git NDA_PROBES not defined yet, so work around. (Logical change 1.155) --- diff --git a/ip/ipneigh.c b/ip/ipneigh.c index 882d8c3e8..e8ab29121 100644 --- a/ip/ipneigh.c +++ b/ip/ipneigh.c @@ -287,10 +287,12 @@ int print_neigh(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) ci->ndm_confirmed/hz, ci->ndm_updated/hz); } +#ifdef NDA_PROBES if (tb[NDA_PROBES] && show_stats) { __u32 p = *(__u32 *) RTA_DATA(tb[NDA_PROBES]); fprintf(fp, " probes %u", p); } +#endif if (r->ndm_state) { int nud = r->ndm_state;