diff options
Diffstat (limited to 'bgpd/bgp_aspath.c')
-rw-r--r-- | bgpd/bgp_aspath.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c index dc6ed166..6fdd53c0 100644 --- a/bgpd/bgp_aspath.c +++ b/bgpd/bgp_aspath.c @@ -1508,6 +1508,10 @@ aspath_reconcile_as4 ( struct aspath *aspath, struct aspath *as4path) case AS_SEQUENCE: cpasns = MIN(seg->length, hops); hops -= seg->length; + break ; + + default: + break ; } assert (cpasns <= seg->length); @@ -1726,6 +1730,8 @@ aspath_gettoken (const char *buf, enum as_token *token, u_long *asno) *token = as_token_confed_set_end; p++; return p; + default: + break ; } /* Check actual AS value. */ |