mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-08 11:16:21 +00: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);
|
ci->ndm_confirmed/hz, ci->ndm_updated/hz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NDA_PROBES
|
||||||
if (tb[NDA_PROBES] && show_stats) {
|
if (tb[NDA_PROBES] && show_stats) {
|
||||||
__u32 p = *(__u32 *) RTA_DATA(tb[NDA_PROBES]);
|
__u32 p = *(__u32 *) RTA_DATA(tb[NDA_PROBES]);
|
||||||
fprintf(fp, " probes %u", p);
|
fprintf(fp, " probes %u", p);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (r->ndm_state) {
|
if (r->ndm_state) {
|
||||||
int nud = r->ndm_state;
|
int nud = r->ndm_state;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user