summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw_pfil.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2004-08-20 00:36:55 +0000
committerandre <andre@FreeBSD.org>2004-08-20 00:36:55 +0000
commit80ff6433dd3ac544095f7e6f88ccc76d77a25a50 (patch)
tree1dd03504c4d6572115843681c5b6ef426c3181e6 /sys/netinet/ip_fw_pfil.c
parent94265926aba5559fbebb85b4d61c013d24c7a109 (diff)
downloadFreeBSD-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
Diffstat (limited to 'sys/netinet/ip_fw_pfil.c')
-rw-r--r--sys/netinet/ip_fw_pfil.c2
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;
OpenPOWER on IntegriCloud