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
This commit is contained in:
parent
aea0abf3e3
commit
ce63226177
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user