diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2025-05-26 18:19:04 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2025-06-01 14:12:47 +0200 |
commit | 1ab0c1b1fd3f598b671455ad38c52d1dce96bbba (patch) | |
tree | 8159833bd0a3e49a92b5ff71e201ff9cf547ba1c /util | |
parent | f699ba550c9f009924d8f5f59a190254938f9bec (diff) |
Hithero, ulogd has only fully supported handling ARP headers that are present in
`NFPROTO_BRIDGE` packets.
Add support for handling ARP packets in their own right.
Reported-by: Slavko <linux@slavino.sk>
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'util')
-rw-r--r-- | util/printpkt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/printpkt.c b/util/printpkt.c index 2fecd50..93fe472 100644 --- a/util/printpkt.c +++ b/util/printpkt.c @@ -467,6 +467,9 @@ int printpkt_print(struct ulogd_key *res, char *buf) case NFPROTO_BRIDGE: buf_cur += printpkt_bridge(res, buf_cur); break; + case NFPROTO_ARP: + buf_cur += printpkt_arp(res, buf_cur); + break; } if (pp_is_valid(res, KEY_OOB_UID)) |