summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2017-01-21 05:36:34 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2017-01-21 05:36:34 +0000
commit3fc4bdf5cf091672e83df1ecf75a63ea8fa282d2 (patch)
tree4fb9920cf07a8aba49496859aebb95c1dc770df9 /sys
parent8e43abe6e49609472670cf412b0acab2b3c4637e (diff)
remove some extra whitespace.
no functional change (unfortunately)
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_spppsubr.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index b479779b260..86567ce4e89 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.160 2017/01/20 00:51:56 mpi Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.161 2017/01/21 05:36:33 dlg Exp $ */
/*
* Synchronous PPP link level subroutines.
*
@@ -19,8 +19,8 @@
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
- * THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
@@ -28,7 +28,7 @@
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* From: Version 2.6, Tue May 12 17:10:39 MSD 1998
@@ -400,7 +400,7 @@ static const struct cp *cps[IDX_COUNT] = {
};
- /*
+/*
* Exported functions, comprising our interface to the lower layer.
*/
@@ -890,7 +890,7 @@ sppp_ioctl(struct ifnet *ifp, u_long cmd, void *data)
return rv;
}
- /*
+/*
* PPP protocol implementation.
*/
@@ -1324,7 +1324,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
if (debug)
addlog(SPP_FMT "lcp got echo rep\n",
SPP_ARGS(ifp));
-
+
nmagic = (u_long)p[0] << 24 |
(u_long)p[1] << 16 | p[2] << 8 | p[3];
@@ -1590,7 +1590,7 @@ sppp_cp_change_state(const struct cp *cp, struct sppp *sp, int newstate)
break;
}
}
- /*
+/*
*--------------------------------------------------------------------------*
* *
* The LCP implementation. *
@@ -2251,7 +2251,7 @@ sppp_lcp_check_and_close(struct sppp *sp)
lcp.Close(sp);
}
- /*
+/*
*--------------------------------------------------------------------------*
* *
* The IPCP implementation. *
@@ -3657,7 +3657,7 @@ sppp_chap_scr(struct sppp *sp)
sp->myauth.name,
0);
}
- /*
+/*
*--------------------------------------------------------------------------*
* *
* The PAP implementation. *
@@ -3962,7 +3962,7 @@ sppp_pap_scr(struct sppp *sp)
(size_t)pwdlen, sp->myauth.secret,
0);
}
- /*
+/*
* Random miscellaneous functions.
*/
@@ -4370,7 +4370,7 @@ sppp_update_ip6_addr(void *arg)
goto out;
}
- /*
+ /*
* Changing the link-local address requires purging all
* existing addresses and routes for the interface first.
*/
@@ -4384,7 +4384,7 @@ sppp_update_ip6_addr(void *arg)
goto out;
}
- /*
+ /*
* Code below changes address parameters only, not the address itself.
*/
@@ -4429,7 +4429,7 @@ sppp_set_ip6_addr(struct sppp *sp, const struct in6_addr *src,
} else
ifra->ifra_dstaddr.sin6_family = AF_UNSPEC;
- /*
+ /*
* Don't change the existing prefixlen.
* It is common to use a /64 for IPv6 over point-to-point links
* to allow e.g. neighbour discovery and autoconf to work.
@@ -4535,7 +4535,7 @@ sppp_set_params(struct sppp *sp, struct ifreq *ifr)
struct spppreq *spr;
spr = malloc(sizeof(*spr), M_DEVBUF, M_WAITOK);
-
+
if (copyin((caddr_t)ifr->ifr_data, spr, sizeof(*spr)) != 0) {
free(spr, M_DEVBUF, 0);
return EFAULT;