Fix a the previous commit. I wanted to remove the if and always run the

body not remove both.

Reported by:	ceri
Pointy hat:	brooks
This commit is contained in:
brooks 2005-04-26 20:22:31 +00:00
parent 347035a2c9
commit 3f77e18f9b

View File

@ -1599,6 +1599,7 @@ show_ipfw(struct ip_fw *rule, int pcwidth, int bcwidth)
if (cmd->len & F_NOT)
printf(" not");
proto = cmd->arg1;
pe = getprotobynumber(cmd->arg1);
if (flags & HAVE_OPTIONS)
printf(" proto");
if (pe)