diff options
author | ache <ache@FreeBSD.org> | 1996-05-13 14:18:18 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-05-13 14:18:18 +0000 |
commit | e1cb6ef79c8ab94af413aabdbf5b2b7c1ffca3a9 (patch) | |
tree | 48d5b91444d5eaf30d226aeaa2b2e4752cfbe52c /sys | |
parent | b4272ea59ba9378df0a091cc4b4cd4870dabe230 (diff) | |
download | FreeBSD-src-e1cb6ef79c8ab94af413aabdbf5b2b7c1ffca3a9.zip FreeBSD-src-e1cb6ef79c8ab94af413aabdbf5b2b7c1ffca3a9.tar.gz |
When two units swapped, copy SC_STATIC flag too, not clear it
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_sl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index bfce9af..e69bc54 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.39 1996/04/25 02:34:37 davidg Exp $ + * $Id: if_sl.c,v 1.40 1996/05/13 14:09:34 ache Exp $ */ /* @@ -382,6 +382,7 @@ sltioctl(tp, cmd, data, flag, p) ) { nc->sc_if.if_unit = sc->sc_if.if_unit; nc->sc_flags &= ~SC_STATIC; + nc->sc_flags |= sc->sc_flags & SC_STATIC; sc->sc_if.if_unit = *(u_int *)data; goto slfound; } |