summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2008-09-03 13:41:49 +0000
committerjsg <jsg@openbsd.org>2008-09-03 13:41:49 +0000
commitf1653fe2c500de7aec54a17a2f00289b9ce2cce2 (patch)
treeab241df7f118279171c6c6565063800cb115ed81
parentbefore linking state keys compare them to verify they actually are the (diff)
downloadwireguard-openbsd-f1653fe2c500de7aec54a17a2f00289b9ce2cce2.tar.xz
wireguard-openbsd-f1653fe2c500de7aec54a17a2f00289b9ce2cce2.zip
Missing breaks.
ok pyr@
-rw-r--r--usr.sbin/relayd/pfe.c3
-rw-r--r--usr.sbin/snmpd/snmpe.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/relayd/pfe.c b/usr.sbin/relayd/pfe.c
index 947de05f50b..12acfbf05b0 100644
--- a/usr.sbin/relayd/pfe.c
+++ b/usr.sbin/relayd/pfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfe.c,v 1.51 2008/08/08 08:51:21 thib Exp $ */
+/* $OpenBSD: pfe.c,v 1.52 2008/09/03 13:41:49 jsg Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -58,6 +58,7 @@ pfe_sig_handler(int sig, short event, void *arg)
case SIGINT:
case SIGTERM:
pfe_shutdown();
+ break;
default:
fatalx("pfe_sig_handler: unexpected signal");
}
diff --git a/usr.sbin/snmpd/snmpe.c b/usr.sbin/snmpd/snmpe.c
index da02d59e7c3..37f4b6d9901 100644
--- a/usr.sbin/snmpd/snmpe.c
+++ b/usr.sbin/snmpd/snmpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpe.c,v 1.19 2008/07/18 12:30:06 reyk Exp $ */
+/* $OpenBSD: snmpe.c,v 1.20 2008/09/03 13:41:49 jsg Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -60,6 +60,7 @@ snmpe_sig_handler(int sig, short event, void *arg)
case SIGINT:
case SIGTERM:
snmpe_shutdown();
+ break;
default:
fatalx("snmpe_sig_handler: unexpected signal");
}