diff options
author | Ed Maste <emaste@FreeBSD.org> | 2017-11-14 16:31:11 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2017-11-14 16:31:11 +0000 |
commit | 3bfef74a1f7e7a375e64909d10150e1e5ddae8f8 (patch) | |
tree | 256206444737b8c471ade1d8e924fdda365a1505 /sys/dev/vnic | |
parent | dd00abf2d772b8fb181bf37e2b4e3ad8820b4f59 (diff) | |
download | src-3bfef74a1f7e7a375e64909d10150e1e5ddae8f8.tar.gz src-3bfef74a1f7e7a375e64909d10150e1e5ddae8f8.zip |
vnic: report that the driver supports multicast
The driver is currently hardcoded to force promiscuous mode, so all of
the MAC filtering code is presently unused and multicast should "just
work." Report to the higher layers that multicast is supported.
PR: 223573
Reported by: bz
Sponsored by: The FreeBSD Foundation, Packet.net (hardware)
Notes
Notes:
svn path=/head/; revision=325811
Diffstat (limited to 'sys/dev/vnic')
-rw-r--r-- | sys/dev/vnic/nicvf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vnic/nicvf_main.c b/sys/dev/vnic/nicvf_main.c index adfa53e05840..5e6cf9e6884a 100644 --- a/sys/dev/vnic/nicvf_main.c +++ b/sys/dev/vnic/nicvf_main.c @@ -350,7 +350,7 @@ nicvf_setup_ifnet(struct nicvf *nic) if_setsoftc(ifp, nic); if_initname(ifp, device_get_name(nic->dev), device_get_unit(nic->dev)); - if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX); + if_setflags(ifp, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST); if_settransmitfn(ifp, nicvf_if_transmit); if_setqflushfn(ifp, nicvf_if_qflush); |