diff options
author | jfv <jfv@FreeBSD.org> | 2008-08-28 22:13:44 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2008-08-28 22:13:44 +0000 |
commit | 4d6b183b48b63e8ef2604da76af5d70f3c4be57e (patch) | |
tree | 46a9df17a0240e3c216067574d373a439cd3b70f /sbin/ifconfig/ifvlan.c | |
parent | e4ffb4bcce93ec96d96a47298d3ac371133bf089 (diff) | |
download | FreeBSD-src-4d6b183b48b63e8ef2604da76af5d70f3c4be57e.zip FreeBSD-src-4d6b183b48b63e8ef2604da76af5d70f3c4be57e.tar.gz |
Add support in ifconfig to control the vlan hardware filter feature.
Reviewed by: EvilSam and moi
MFC after:1 week
Diffstat (limited to 'sbin/ifconfig/ifvlan.c')
-rw-r--r-- | sbin/ifconfig/ifvlan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifvlan.c b/sbin/ifconfig/ifvlan.c index 89bc9af..d280062 100644 --- a/sbin/ifconfig/ifvlan.c +++ b/sbin/ifconfig/ifvlan.c @@ -180,6 +180,8 @@ static struct cmd vlan_cmds[] = { DEF_CMD("-vlanmtu", -IFCAP_VLAN_MTU, setifcap), DEF_CMD("vlanhwtag", IFCAP_VLAN_HWTAGGING, setifcap), DEF_CMD("-vlanhwtag", -IFCAP_VLAN_HWTAGGING, setifcap), + DEF_CMD("vlanhwfilter", IFCAP_VLAN_HWFILTER, setifcap), + DEF_CMD("-vlanhwfilter", -IFCAP_VLAN_HWFILTER, setifcap), }; static struct afswtch af_vlan = { .af_name = "af_vlan", |