diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-11-13 01:16:32 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-11-13 01:16:32 +0000 |
commit | f73df3e771a6ae5962c1d6dfaa932e98817d8d21 (patch) | |
tree | b9e7ee9aea93517778aa94f0842921da364899e5 /sys/net | |
parent | d4228377c6c2f8a03077621b8afe69b19ab5b0cf (diff) |
get the inner and outer tos values right for passing to ip_ecn_ingress
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_gif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 2e8152989c1..ccba25467dc 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gif.c,v 1.118 2018/11/13 00:00:43 dlg Exp $ */ +/* $OpenBSD: if_gif.c,v 1.119 2018/11/13 01:16:31 dlg Exp $ */ /* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */ /* @@ -302,9 +302,9 @@ gif_start(struct ifnet *ifp) int gif_send(struct gif_softc *sc, struct mbuf *m, - uint8_t proto, uint8_t ttl, uint8_t otos) + uint8_t proto, uint8_t ttl, uint8_t itos) { - uint8_t itos = 0; + uint8_t otos; m->m_flags &= ~(M_BCAST|M_MCAST); m->m_pkthdr.ph_rtableid = sc->sc_tunnel.t_rtableid; |