Module Name: src
Committed By: mrg
Date: Wed Feb 7 06:19:43 UTC 2018
Modified Files:
src/sys/net: ppp_tty.c
Log Message:
ppprcvframe() has indentation issues.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/net/ppp_tty.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/ppp_tty.c
diff -u src/sys/net/ppp_tty.c:1.63 src/sys/net/ppp_tty.c:1.64
--- src/sys/net/ppp_tty.c:1.63 Sun Oct 2 14:17:07 2016
+++ src/sys/net/ppp_tty.c Wed Feb 7 06:19:43 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: ppp_tty.c,v 1.63 2016/10/02 14:17:07 christos Exp $ */
+/* $NetBSD: ppp_tty.c,v 1.64 2018/02/07 06:19:43 mrg Exp $ */
/* Id: ppp_tty.c,v 1.3 1996/07/01 01:04:11 paulus Exp */
/*
@@ -93,7 +93,7 @@
/* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppp_tty.c,v 1.63 2016/10/02 14:17:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ppp_tty.c,v 1.64 2018/02/07 06:19:43 mrg Exp $");
#ifdef _KERNEL_OPT
#include "ppp.h"
@@ -530,8 +530,8 @@ ppprcvframe(struct ppp_softc *sc, struct
printf(
"%s: garbage received: 0x%x (need 0xFF)\n",
sc->sc_if.if_xname, hdr[0]);
- goto bail;
- }
+ goto bail;
+ }
M_PREPEND(m,2,M_DONTWAIT);
if (m==NULL) {
splx(s);
@@ -562,7 +562,7 @@ ppprcvframe(struct ppp_softc *sc, struct
if (sc->sc_flags & SC_DEBUG)
printf("%s: bad protocol %x\n", sc->sc_if.if_xname,
(hdr[2] << 8) + hdr[3]);
- goto bail;
+ goto bail;
}
/* packet beyond configured mru? */