mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-12-08 01:35:20 +00:00
ip monitor: Skip IPv6 ND user option messages
IPv6 router sends ND messages with RDNSS option
which causes the printing of unknown message by 'ip monitor':
Unknown message: 0000004c 00000044 00000000
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
This commit is contained in:
parent
2271779d80
commit
c56361f4b5
@ -138,7 +138,8 @@ static int accept_msg(const struct sockaddr_nl *who,
|
||||
n->nlmsg_type == RTM_NEWTCLASS ||
|
||||
n->nlmsg_type == RTM_DELTCLASS ||
|
||||
n->nlmsg_type == RTM_NEWTFILTER ||
|
||||
n->nlmsg_type == RTM_DELTFILTER)
|
||||
n->nlmsg_type == RTM_DELTFILTER ||
|
||||
n->nlmsg_type == RTM_NEWNDUSEROPT)
|
||||
return 0;
|
||||
if (n->nlmsg_type != NLMSG_ERROR && n->nlmsg_type != NLMSG_NOOP &&
|
||||
n->nlmsg_type != NLMSG_DONE) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user