summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2011-10-11 23:41:52 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2011-10-11 23:41:52 +0000
commit8cca00d73e143fc10aa31d89c64de9c96fef267e (patch)
treea98119f7c750eb7ef8eba94af39879e933fa48c1 /usr.sbin/pppoe
parent2586ed3e0adbdbfe477638fe9551503fa37dc1ab (diff)
We don't need to break after calling err(3) because this function will
not return. This diff produces no binary change. diff from Michael W. Bombardieri. ok dlg@, claudio@ CV: Enter eog. Lines beginning with `CVS:' are removed automatically
Diffstat (limited to 'usr.sbin/pppoe')
-rw-r--r--usr.sbin/pppoe/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppoe/server.c b/usr.sbin/pppoe/server.c
index 73f85e1bf63..e46d4a228d4 100644
--- a/usr.sbin/pppoe/server.c
+++ b/usr.sbin/pppoe/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.13 2007/09/03 14:26:54 deraadt Exp $ */
+/* $OpenBSD: server.c,v 1.14 2011/10/11 23:41:51 yasuoka Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -112,7 +112,7 @@ server_mode(int bpffd, u_int8_t *sysname, u_int8_t *srvname,
if (errno == EINTR)
continue;
err(EX_IOERR, "select");
- break;
+ /* NOTREACHED */
}
if (n == 0)
continue;