Import patch thomas.2

(Logical change 1.148)
parent bdc2d779
...@@ -287,6 +287,11 @@ int print_neigh(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) ...@@ -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); 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) { if (r->ndm_state) {
int nud = r->ndm_state; int nud = r->ndm_state;
fprintf(fp, " "); fprintf(fp, " ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment