diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-05-27 07:11:22 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-05-27 07:11:22 +0000 |
commit | 9de9e2db1455f1870d65ba5837f6e7935f002ab7 (patch) | |
tree | 2357073211938bfdf7903be267ac43a857b09281 /sys | |
parent | 02b5fddf7084c1ad560ff91fddf5ea8f83fee34b (diff) |
Allow us to clear the RTM_JUMBO flag as well as set it.
Reported by Cedric Berger
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/rtsock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 2085dd99568..e965d69e68b 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsock.c,v 1.44 2005/05/27 04:55:27 mcbride Exp $ */ +/* $OpenBSD: rtsock.c,v 1.45 2005/05/27 07:11:21 mcbride Exp $ */ /* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */ /* @@ -398,7 +398,7 @@ report: } /* XXX Hack to allow the jumbo flag to be toggled */ - if (rtm->rtm_flags & RTF_JUMBO) + if (rtm->rtm_use & RTF_JUMBO) rt->rt_flags = (rt->rt_flags & ~rtm->rtm_use) | (rtm->rtm_flags & rtm->rtm_use); |