]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: ifindex should not be a pointer for ospf6_sendmsg
authorDonald Sharp <sharpd@nvidia.com>
Thu, 29 Oct 2020 10:59:42 +0000 (06:59 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 29 Oct 2020 11:01:40 +0000 (07:01 -0400)
commitb66ec22ca9b227c4b7f78f71918be7eff30fb552
tree7a6c3ee4d3bc8db5eeee484c8218da3ae49bd7b0
parent01d8acff73d92e9c6db47428691d5cec2ac09cd3
ospf6d: ifindex should not be a pointer for ospf6_sendmsg

Let's cleanup the ospf6_sendmsg api and not pass in a pointer
to the ifindex to use.  It's an integer.

Also remove the assert(*ifindex);  We never use ifindex of 0

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
ospf6d/ospf6_message.c
ospf6d/ospf6_network.c
ospf6d/ospf6_network.h