]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: A wrong address family means the register-stop receive fails
authorDonald Sharp <sharpd@nvidia.com>
Mon, 14 Mar 2022 19:51:13 +0000 (15:51 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 14 Mar 2022 19:52:37 +0000 (15:52 -0400)
commit1aa3f6b199043adfa82f9888cbd27414242601c0
tree637ca0a7f538e2e9acb6ad127e0a33d7acbb84d1
parent03f9d812f9113e2b66e598ea60aaa248d059af1b
pimd: A wrong address family means the register-stop receive fails

The current code in pim_register_stop_recv would never fail as
that the code was always returning 0 in all cases, but
if the code parses an incorrect afi then it has failed and
should return as much

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
pimd/pim_register.c