summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorhasso <hasso>2004-03-04 17:45:00 +0000
committerhasso <hasso>2004-03-04 17:45:00 +0000
commitfa2b17e39499a77f41a719035a588b7fb63cec63 (patch)
tree3356703917aaa8359e0106ae3c2340ee6eea0e1f /bgpd
parentcaa6f8ac7d07f8cd3269255e6dce6d248f74af62 (diff)
Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGER
from vtysh ([quagga-dev 932]).
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);
}