diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 3 | ||||
-rw-r--r-- | usr.sbin/bgpd/mrt.c | 6 | ||||
-rw-r--r-- | usr.sbin/bgpd/parse.y | 3 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 3e52b00d7e3..46ac14d8109 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.6 2003/12/20 19:17:51 deraadt Exp $ */ +/* $OpenBSD: bgpd.c,v 1.7 2003/12/20 20:53:30 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -342,6 +342,7 @@ dispatch_imsg(int fd, int idx, struct mrt_config *conf, } break; default: + break; } imsg_free(&imsg); } diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c index db4fd8aa06d..0495c491d1d 100644 --- a/usr.sbin/bgpd/mrt.c +++ b/usr.sbin/bgpd/mrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mrt.c,v 1.2 2003/12/19 01:15:47 deraadt Exp $ */ +/* $OpenBSD: mrt.c,v 1.3 2003/12/20 20:53:30 henning Exp $ */ /* * Copyright (c) 2003 Claudio Jeker <cjeker@diehard.n-r-g.com> @@ -247,6 +247,7 @@ mrt_state(struct mrtdump_config *m, enum imsg_type type, free(m); return (0); default: + break; } break; case MRT_STATE_REOPEN: @@ -265,6 +266,7 @@ mrt_state(struct mrtdump_config *m, enum imsg_type type, m->id, NULL, 0); return (0); default: + break; } break; case MRT_STATE_OPEN: @@ -283,6 +285,7 @@ mrt_state(struct mrtdump_config *m, enum imsg_type type, } break; default: + break; } return (1); } @@ -354,6 +357,7 @@ mrt_alrm(struct mrt_config *conf, int rfd, int *rwait if (m->type == MRT_TABLE_DUMP) *rwait += imsg_compose(rfd, IMSG_MRT_END, m->id, NULL, 0); + break; } m->ReopenTimer = now + m->ReopenTimerInterval; diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 5fd4c47936a..b90845f4f83 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.3 2003/12/19 01:38:34 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.4 2003/12/20 20:53:30 henning Exp $ */ /* * Copyright (c) 2002, 2003 Henning Brauer <henning@openbsd.org> @@ -291,6 +291,7 @@ endsection : '}' { default: yyerror("\"}\" not allowed in this context"); YYERROR; + break; } } ; diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index ee5b85d2f24..68b07fd7a7a 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.12 2003/12/20 18:32:22 henning Exp $ */ +/* $OpenBSD: rde.c,v 1.13 2003/12/20 20:53:30 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -256,6 +256,7 @@ rde_dispatch_imsg(int fd, int idx) IMSG_MRT_END, imsg.hdr.peerid, NULL, 0); break; default: + break; } imsg_free(&imsg); } @@ -490,6 +491,7 @@ rde_update_get_attr(u_char *p, u_int16_t len, struct attr_flags *a) default: /* ignore for now */ plen += attr_len; + break; } return (plen); |