diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-02-13 14:21:26 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-02-13 14:39:54 +0100 |
commit | 752022670a294584ce45161a182f5b5790da45b9 (patch) | |
tree | d8bf19c32a08a1dd4ba2799ed2fee8450fe735e1 /pimd/pim_rpf.c | |
parent | Merge pull request #5798 from donaldsharp/bgp_packet_reformat (diff) | |
download | frr-752022670a294584ce45161a182f5b5790da45b9.tar.xz frr-752022670a294584ce45161a182f5b5790da45b9.zip |
*: Remove break after return
Just a deadcode.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'pimd/pim_rpf.c')
-rw-r--r-- | pimd/pim_rpf.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c index 1eb5006b9..24519adb1 100644 --- a/pimd/pim_rpf.c +++ b/pimd/pim_rpf.c @@ -373,14 +373,11 @@ int pim_rpf_addr_is_inaddr_none(struct pim_rpf *rpf) switch (rpf->rpf_addr.family) { case AF_INET: return rpf->rpf_addr.u.prefix4.s_addr == INADDR_NONE; - break; case AF_INET6: zlog_warn("%s: v6 Unimplmeneted", __PRETTY_FUNCTION__); return 1; - break; default: return 0; - break; } return 0; @@ -391,14 +388,11 @@ int pim_rpf_addr_is_inaddr_any(struct pim_rpf *rpf) switch (rpf->rpf_addr.family) { case AF_INET: return rpf->rpf_addr.u.prefix4.s_addr == INADDR_ANY; - break; case AF_INET6: zlog_warn("%s: v6 Unimplmented", __PRETTY_FUNCTION__); return 1; - break; default: return 0; - break; } return 0; |