diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2022-07-29 15:03:38 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2022-07-31 21:03:01 +0000 |
commit | 2c591a8976529fb1c5951d7d54dee2d0ace5b206 (patch) | |
tree | 1bb254d7fb413e5eee0a84b2ac35e87b967a5a3b | |
parent | d981b2f11558a35dfed256183f5f3207c0031918 (diff) | |
download | strace-ldv/fixes.tar.gz |
xlat: put NUD_NONE first in neighbor_cache_entry_statesldv/fixes
Otherwise it is never used.
* src/xlat/neighbor_cache_entry_states.in: Move NUD_NONE first, add
values.
Fixes: v4.19~139 "netlink: add a basic rtnetlink parser of neigh messages"
-rw-r--r-- | src/xlat/neighbor_cache_entry_states.in | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/xlat/neighbor_cache_entry_states.in b/src/xlat/neighbor_cache_entry_states.in index bbc557e88..9c05ea6c7 100644 --- a/src/xlat/neighbor_cache_entry_states.in +++ b/src/xlat/neighbor_cache_entry_states.in @@ -1,10 +1,10 @@ #unconditional -NUD_INCOMPLETE -NUD_REACHABLE -NUD_STALE -NUD_DELAY -NUD_PROBE -NUD_FAILED -NUD_NOARP -NUD_PERMANENT -NUD_NONE +NUD_NONE 0x00 +NUD_INCOMPLETE 0x01 +NUD_REACHABLE 0x02 +NUD_STALE 0x04 +NUD_DELAY 0x08 +NUD_PROBE 0x10 +NUD_FAILED 0x20 +NUD_NOARP 0x40 +NUD_PERMANENT 0x80 |