diff options
| author | David Greenman <dg@FreeBSD.org> | 1996-04-25 02:34:37 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1996-04-25 02:34:37 +0000 |
| commit | 2a8d579fc8338a4b7ec4c1c0e71e061870f61f72 (patch) | |
| tree | b4a7812b78b837025bf1cf565e513d440b31f759 | |
| parent | 02836a445ddcb29c086a76c975ec1014ba30e668 (diff) | |
Notes
| -rw-r--r-- | sys/net/if_sl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 621283b1a6640..18e7f40859449 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_sl.c 8.6 (Berkeley) 2/1/94 - * $Id: if_sl.c,v 1.37 1996/04/07 17:39:09 bde Exp $ + * $Id: if_sl.c,v 1.38 1996/04/24 15:44:34 phk Exp $ */ /* @@ -561,8 +561,8 @@ slstart(tp) } while (m1 = m1->m_next); } #endif - if ((ip = mtod(m, struct ip *))->ip_v == IPVERSION) && - (ip = mtod(m, struct ip *))->ip_p == IPPROTO_TCP) { + ip = mtod(m, struct ip *); + if (ip->ip_v == IPVERSION && ip->ip_p == IPPROTO_TCP) { if (sc->sc_if.if_flags & SC_COMPRESS) *mtod(m, u_char *) |= sl_compress_tcp(m, ip, &sc->sc_comp, 1); |
