diff options
author | sam <sam@FreeBSD.org> | 2003-11-03 03:22:39 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-11-03 03:22:39 +0000 |
commit | 4462f3d45a0fb1a1409ca87152f6b8f9dde733c0 (patch) | |
tree | 0d28d904c2251aa169c30e903310d086f5b0e2b2 /sys/netinet/in.c | |
parent | 15f1414b695972b15cfda012547d873cad6aa63e (diff) | |
download | FreeBSD-src-4462f3d45a0fb1a1409ca87152f6b8f9dde733c0.zip FreeBSD-src-4462f3d45a0fb1a1409ca87152f6b8f9dde733c0.tar.gz |
Correct rev 1.56 which (incorrectly) reversed the test used to
decide if in_pcbpurgeif0 should be invoked.
Supported by: FreeBSD Foundation
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r-- | sys/netinet/in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c index 89c4123..95ff844 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -423,7 +423,7 @@ in_control(so, cmd, data, ifp, td) * XXX horrible hack to detect that we are being called * from if_detach() */ - if (ifaddr_byindex(ifp->if_index) != NULL) { + if (ifaddr_byindex(ifp->if_index) == NULL) { in_pcbpurgeif0(&ripcbinfo, ifp); in_pcbpurgeif0(&udbinfo, ifp); } |