summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2010-09-28 14:14:55 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2010-09-28 14:14:55 +0000
commita6aa13e6a2b21b1eef07718edda1dbd891d35517 (patch)
tree7b9ff680f8bbb7c549d31fa22cec6dbbfbb329b2 /sys/net
parentd6ea21ae854b5232c50a8f7b7515ab129b30f9e7 (diff)
wrap long line. correct indent. delete a useless comment.
OK djm@ claudio@ dlg@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pipex.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/net/pipex.c b/sys/net/pipex.c
index 3dc7be85c6e..5381d6ec854 100644
--- a/sys/net/pipex.c
+++ b/sys/net/pipex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex.c,v 1.11 2010/09/26 07:04:43 yasuoka Exp $ */
+/* $OpenBSD: pipex.c,v 1.12 2010/09/28 14:14:54 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -958,9 +958,9 @@ pipex_ppp_output(struct mbuf *m0, struct pipex_session *session, int proto)
}
#endif /* PIPEX_MPPE */
cp = hdr;
- PUTCHAR(PPP_ALLSTATIONS, cp);
- PUTCHAR(PPP_UI, cp);
- PUTSHORT(proto, cp);
+ PUTCHAR(PPP_ALLSTATIONS, cp);
+ PUTCHAR(PPP_UI, cp);
+ PUTSHORT(proto, cp);
M_PREPEND(m0, cp - hdr, M_NOWAIT);
if (m0 == NULL)
@@ -1503,7 +1503,6 @@ pipex_pptp_lookup_session(struct mbuf *m0)
uint16_t id;
int hlen;
- /* pullup */
if (m0->m_pkthdr.len < PIPEX_IPGRE_HDRLEN) {
PIPEX_DBG((NULL, LOG_DEBUG,
"<%s> packet length is too short", __func__));