]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
NDA_PROBES not defined yet, so work around.
authorosdl.net!shemminger <osdl.net!shemminger>
Thu, 10 Mar 2005 19:07:43 +0000 (19:07 +0000)
committerosdl.net!shemminger <osdl.net!shemminger>
Thu, 10 Mar 2005 19:07:43 +0000 (19:07 +0000)
(Logical change 1.155)

ip/ipneigh.c

index 882d8c3e8666ccf948526fc0e3f6529844995564..e8ab29121bfd5d61304ce78a9c8ca6660a07a28a 100644 (file)
@@ -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;