From d360073b23765a7bebacc310ec72136ad7fe7869 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Tue, 26 Apr 2005 20:22:31 +0000 Subject: [PATCH] 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 --- sbin/ipfw/ipfw2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index d729df78e5f0..1b44c350ccd2 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -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)