diff options
author | glebius <glebius@FreeBSD.org> | 2013-12-25 09:43:51 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-12-25 09:43:51 +0000 |
commit | 7e0351c07263070db15e9199ff727ae3f53daab5 (patch) | |
tree | 3507cb95cf9ae6dda0dab32576d7ddbead9fcdec | |
parent | 0c91ef8145cb2d4090accd731fafb4e98da2a46c (diff) | |
download | FreeBSD-src-7e0351c07263070db15e9199ff727ae3f53daab5.zip FreeBSD-src-7e0351c07263070db15e9199ff727ae3f53daab5.tar.gz |
It'll be okay to use LibAliasDetachHandlers() here, relying
on the fact that all handlers come from modules' bss and are
followed by NODIR handler.
-rw-r--r-- | sys/netinet/libalias/alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/libalias/alias.c b/sys/netinet/libalias/alias.c index 8f23699..bd36604 100644 --- a/sys/netinet/libalias/alias.c +++ b/sys/netinet/libalias/alias.c @@ -1722,7 +1722,7 @@ LibAliasUnLoadAllModule(void) /* Unload all modules then reload everything. */ while ((p = first_handler()) != NULL) { - detach_handler(p); + LibAliasDetachHandlers(p); } while ((t = walk_dll_chain()) != NULL) { dlclose(t->handle); |