diff options
author | brooks <brooks@FreeBSD.org> | 2005-04-26 20:00:07 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-04-26 20:00:07 +0000 |
commit | 347035a2c95e2e10e9d70cf894f67d74ae119484 (patch) | |
tree | cb1049c8a1023fe6fbfc0b381300adc980f7e8d1 /sbin/ipfw | |
parent | 4d3f396bf60f7c76e101de098d6474eeb33fe976 (diff) | |
download | FreeBSD-src-347035a2c95e2e10e9d70cf894f67d74ae119484.zip FreeBSD-src-347035a2c95e2e10e9d70cf894f67d74ae119484.tar.gz |
Don't force IPv6 proto to be printed numericaly.
Noticed by: ceri
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index fb2f67d..d729df7 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -1599,8 +1599,6 @@ show_ipfw(struct ip_fw *rule, int pcwidth, int bcwidth) if (cmd->len & F_NOT) printf(" not"); proto = cmd->arg1; - if (proto != 41) /* XXX: IPv6 is special */ - pe = getprotobynumber(cmd->arg1); if (flags & HAVE_OPTIONS) printf(" proto"); if (pe) |