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:
Andre Oppermann 2004-08-20 00:36:55 +00:00
parent aea0abf3e3
commit ce63226177

View File

@ -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;