summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-06-30 07:50:04 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-06-30 07:57:55 -0400
commitfe953d7cded8c59859a766e7bcc62a9cee8a04a3 (patch)
treecf31e5a0f722e5894e5436b7f85ba1c82ed95922 /lib/lib_errors.c
parent03c95c540f1884dcaf74a81bc309fc51547054dd (diff)
zebra: Correct implication of SOL_NETLINK NETLINK_ADD_MEMBERSHIP usage
The usage of SOL_NETLINK for adding memberships of interest is 1 group per call. The netink_socket function implied that the call could be a bitfield of values. This is not correct at all. This will trip someone else up in the future when a new value is needed. Let's get it right `now` before it becomes a problem. Let's also add a bit of extra code to give operator a better understanding of what went wrong when a kernel does not support the option. Finally as a point of future reference should FRR just switch over to a loop to add the required loops instead of having this bastardized approach of some going in one way and some going in another way? Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions