diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-12-27 09:11:48 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-12-27 09:11:48 +0000 |
commit | 53274e81cb7febe798f109d10d3364058173b63c (patch) | |
tree | 4b777280f757f65fe06568278a300a3ff8bd3397 /sys/net/if_spppsubr.c | |
parent | 47f1b7ec4b812dbdc3775d7664c70f817dabb31a (diff) |
revision 1.12 lacks paren around && within || (gcc warns and compilation stops).
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 10 |
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 |