summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Peter Mello <cody.mello@joyent.com>2016-02-22 19:25:30 +0000
committerRobert Mustacchi <rm@joyent.com>2016-03-09 19:07:57 -0800
commit573f02443902adab48a475194c301e0266998115 (patch)
treedde0a1f02064e24aa1c0297ab32d43ad03fc006d
parent286ef71398fb54b1d5007d6f45aa4320a9e0ede2 (diff)
downloadillumos-joyent-573f02443902adab48a475194c301e0266998115.tar.gz
6683 Filtering on 'rarp' with snoop(1M) is broken
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@omniti.com>
-rw-r--r--usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c b/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
index 40faeb5b3e..6eec24cd85 100644
--- a/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
+++ b/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_pf.c
@@ -103,7 +103,7 @@ static network_table_t ether_network_mapping_table[] = {
{ "pup", ETHERTYPE_PUP },
{ "ip", ETHERTYPE_IP },
{ "arp", ETHERTYPE_ARP },
- { "revarp", ETHERTYPE_REVARP },
+ { "rarp", ETHERTYPE_REVARP },
{ "at", ETHERTYPE_AT },
{ "aarp", ETHERTYPE_AARP },
{ "vlan", ETHERTYPE_VLAN },
@@ -119,7 +119,7 @@ static network_table_t ib_network_mapping_table[] = {
{ "pup", ETHERTYPE_PUP },
{ "ip", ETHERTYPE_IP },
{ "arp", ETHERTYPE_ARP },
- { "revarp", ETHERTYPE_REVARP },
+ { "rarp", ETHERTYPE_REVARP },
{ "at", ETHERTYPE_AT },
{ "aarp", ETHERTYPE_AARP },
{ "vlan", ETHERTYPE_VLAN },