diff options
author | brooks <brooks@FreeBSD.org> | 2005-04-26 20:22:31 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-04-26 20:22:31 +0000 |
commit | 3f77e18f9b94a43481ad88f443208b20edbfbdc8 (patch) | |
tree | 44b80373dd36b092acdc86116d999248031b5af8 | |
parent | 347035a2c95e2e10e9d70cf894f67d74ae119484 (diff) | |
download | FreeBSD-src-3f77e18f9b94a43481ad88f443208b20edbfbdc8.zip FreeBSD-src-3f77e18f9b94a43481ad88f443208b20edbfbdc8.tar.gz |
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
-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 d729df7..1b44c35 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) |