From 80ff6433dd3ac544095f7e6f88ccc76d77a25a50 Mon Sep 17 00:00:00 2001 From: andre Date: Fri, 20 Aug 2004 00:36:55 +0000 Subject: 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 --- sys/netinet/ip_fw_pfil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netinet/ip_fw_pfil.c') 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; -- cgit v1.1