summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-30 13:06:01 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-30 13:06:01 +0000
commitb54c19a22eeb69486103f58168ab4538a86a3d56 (patch)
tree1a3eb5867f0188c3bdfcc7998bb2141c9a3083c3 /usr.sbin/bgpd/session.c
parente9da247371d681eb30712c2dbaed62cc195765b7 (diff)
no empty default: cases in switch, gcc3 complaints via espie@
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r--usr.sbin/bgpd/session.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 468c29871f2..a8cca1c54b0 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.49 2003/12/30 13:03:27 henning Exp $ */
+/* $OpenBSD: session.c,v 1.50 2003/12/30 13:06:00 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -347,6 +347,7 @@ bgp_fsm(struct peer *peer, enum session_events event)
break;
default:
/* ignore */
+ break;
}
break;
case STATE_CONNECT:
@@ -624,6 +625,7 @@ change_state(struct peer *peer, enum session_state state,
session_up(peer);
break;
default: /* something seriously fucked */
+ break;
}
log_statechange(peer, state, event);
@@ -1327,6 +1329,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx)
logit(LOG_INFO, "SE reconfigured");
break;
default:
+ break;
}
imsg_free(&imsg);
}