]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Fix RULE notification netlink messages
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 24 May 2018 13:03:11 +0000 (09:03 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 24 May 2018 13:14:43 +0000 (09:14 -0400)
commit026a316f2cd5756b7740bec4696e320387f6e49c
tree3962525cdd14ebbe4a2e4c6f1a830aa58ce407cf
parent2414abd3b0adbb48855135b14e5cdbf21b3cc308
zebra: Fix RULE notification netlink messages

Fix the code so that we would actually start receiving
RULE netlink notifications.

The Kernel expects the long long to be a bit field
value, while the newer netlink message types are
an enum.  So we need to convert the message type
number to a bit position and set that value.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/kernel_netlink.c