From 69410a496b57c59b3353713dfe8ba57eaea90b79 Mon Sep 17 00:00:00 2001 From: "net[shemminger]!shemminger" Date: Thu, 10 Mar 2005 19:01:07 +0000 Subject: [PATCH] Import patch thomas.2 (Logical change 1.148) --- ip/ipneigh.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ip/ipneigh.c b/ip/ipneigh.c index 51e7a176..882d8c3e 100644 --- a/ip/ipneigh.c +++ b/ip/ipneigh.c @@ -287,6 +287,11 @@ int print_neigh(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) ci->ndm_confirmed/hz, ci->ndm_updated/hz); } + if (tb[NDA_PROBES] && show_stats) { + __u32 p = *(__u32 *) RTA_DATA(tb[NDA_PROBES]); + fprintf(fp, " probes %u", p); + } + if (r->ndm_state) { int nud = r->ndm_state; fprintf(fp, " ");