summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-12-27 09:11:48 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-12-27 09:11:48 +0000
commit53274e81cb7febe798f109d10d3364058173b63c (patch)
tree4b777280f757f65fe06568278a300a3ff8bd3397 /sys/net
parent47f1b7ec4b812dbdc3775d7664c70f817dabb31a (diff)
revision 1.12 lacks paren around && within || (gcc warns and compilation stops).
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 1c61a3b21c1..5ed8e9bfcf7 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.12 2001/12/26 22:36:31 mickey Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.13 2001/12/27 09:11:47 itojun Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -703,10 +703,10 @@ sppp_output(struct ifnet *ifp, struct mbuf *m,
if (! IF_QFULL (&sp->pp_fastq) &&
((ip->ip_tos & IPTOS_LOWDELAY) ||
- ((ip->ip_p == IPPROTO_TCP &&
- m->m_len >= sizeof (struct ip) + sizeof (struct tcphdr) &&
- (INTERACTIVE (ntohs (tcp->th_sport))) ||
- INTERACTIVE (ntohs (tcp->th_dport))))))
+ (ip->ip_p == IPPROTO_TCP &&
+ m->m_len >= sizeof (struct ip) + sizeof (struct tcphdr) &&
+ (INTERACTIVE (ntohs (tcp->th_sport)) ||
+ INTERACTIVE (ntohs (tcp->th_dport))))))
ifq = &sp->pp_fastq;
}
#endif