summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_nexthop.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c
index 3b91373b..4f43b9d1 100644
--- a/bgpd/bgp_nexthop.c
+++ b/bgpd/bgp_nexthop.c
@@ -153,6 +153,9 @@ bgp_nexthop_same (struct nexthop *next1, struct nexthop *next2)
return 0;
break;
#endif /* HAVE_IPV6 */
+ default:
+ /* do nothing */
+ break;
}
return 1;
}
@@ -882,6 +885,9 @@ zlookup_read ()
case ZEBRA_NEXTHOP_IFNAME:
nexthop->ifindex = stream_getl (s);
break;
+ default:
+ /* do nothing */
+ break;
}
bnc_nexthop_add (bnc, nexthop);
}
@@ -982,6 +988,9 @@ zlookup_read_ipv6 ()
case ZEBRA_NEXTHOP_IFNAME:
nexthop->ifindex = stream_getl (s);
break;
+ default:
+ /* do nothing */
+ break;
}
bnc_nexthop_add (bnc, nexthop);
}