mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-16 22:45:17 +08:00
NDA_PROBES not defined yet, so work around.
(Logical change 1.155)
This commit is contained in:
parent
d41b550f9e
commit
60f1317aaa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user