diff options
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw2.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |