diff options
author | andre <andre@FreeBSD.org> | 2004-08-20 00:36:55 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2004-08-20 00:36:55 +0000 |
commit | 80ff6433dd3ac544095f7e6f88ccc76d77a25a50 (patch) | |
tree | 1dd03504c4d6572115843681c5b6ef426c3181e6 | |
parent | 94265926aba5559fbebb85b4d61c013d24c7a109 (diff) | |
download | FreeBSD-src-80ff6433dd3ac544095f7e6f88ccc76d77a25a50.zip FreeBSD-src-80ff6433dd3ac544095f7e6f88ccc76d77a25a50.tar.gz |
Fix a stupid typo which prevented an ipfw KLD unload from successfully cleaning
up its remains. Do not terminate 'if' lines with ';'.
Spotted by: claudio@OpenBSD.ORG (sitting 3m from my desk)
Pointy hat to: andre
-rw-r--r-- | sys/netinet/ip_fw_pfil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw_pfil.c b/sys/netinet/ip_fw_pfil.c index 3db809a..e88f41d 100644 --- a/sys/netinet/ip_fw_pfil.c +++ b/sys/netinet/ip_fw_pfil.c @@ -385,7 +385,7 @@ ipfw_modevent(module_t mod, int type, void *unused) case MOD_UNLOAD: if (ipfw_pfil_hooked) { - if ((err = ipfw_unhook()) > 0); + if ((err = ipfw_unhook()) > 0) break; ipfw_destroy(); ipfw_pfil_hooked = 0; |