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 Davis 2005-04-26 20:22:31 +00:00
parent 38aede1cce
commit d360073b23
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145567

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)