diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-08-11 15:13:26 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-08-11 15:13:26 +0000 |
commit | 98911d96f82a03ca52f0fa2accaa9f38010311f2 (patch) | |
tree | e1b76483037827b37df4b28404b6c664d6b82dd4 /sys/net | |
parent | a2fd71cba0dbe69f4abd5fe5786a0c6cdf62966b (diff) |
space after if.
Pointed out by tom@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_spppsubr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index c79a8e2f7b9..e2d759c0044 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.168 2017/08/11 15:12:32 reyk Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.169 2017/08/11 15:13:25 reyk Exp $ */ /* * Synchronous PPP link level subroutines. * @@ -600,12 +600,12 @@ sppp_output(struct ifnet *ifp, struct mbuf *m, * - we flag TCP packets with src ip 0 as an error */ - if(ip && ip->ip_src.s_addr == INADDR_ANY) { + if (ip && ip->ip_src.s_addr == INADDR_ANY) { u_int8_t proto = ip->ip_p; m_freem(m); splx(s); - if(proto == IPPROTO_TCP) + if (proto == IPPROTO_TCP) return (EADDRNOTAVAIL); else return (0); |