summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ipcp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-06-25 19:30:05 +0000
committerbrian <brian@FreeBSD.org>1997-06-25 19:30:05 +0000
commitfef65421d3583585ef484383e7a06b2d6c75a1fb (patch)
tree2b34efd1359d865127c8be005bf629a29a898a4e /usr.sbin/ppp/ipcp.c
parent988f978710326fc294e3ebe6b7231a5b2807c6f8 (diff)
downloadFreeBSD-src-fef65421d3583585ef484383e7a06b2d6c75a1fb.zip
FreeBSD-src-fef65421d3583585ef484383e7a06b2d6c75a1fb.tar.gz
Add "set server" to control the server socket.
Catch SIGUSR1 to re-init listening socket. Document signal behaviour. Add missing '\n's to LogPrintf(LogWARN,...) Main() returns int not void. AF_LOCAL ideal suggested a long time ago by: joerg
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r--usr.sbin/ppp/ipcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c
index da19707..2b45c37 100644
--- a/usr.sbin/ppp/ipcp.c
+++ b/usr.sbin/ppp/ipcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ipcp.c,v 1.20 1997/05/26 00:44:01 brian Exp $
+ * $Id: ipcp.c,v 1.21 1997/06/09 03:27:24 brian Exp $
*
* TODO:
* o More RFC1772 backwoard compatibility
@@ -394,7 +394,7 @@ int mode;
switch (length) {
case 4: /* RFC1172 */
if (ntohs(pcomp->proto) == PROTO_VJCOMP) {
- LogPrintf(LogWARN, "Peer is speaking RFC1172 compression protocol !n");
+ LogPrintf(LogWARN, "Peer is speaking RFC1172 compression protocol !\n");
IpcpInfo.heis1172 = 1;
IpcpInfo.his_compproto = compproto;
bcopy(cp, ackp, length);
OpenPOWER on IntegriCloud