1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

Finish mechanical conversion of axgbe(4) to IfAPI.

Sponsored by:	Juniper Networks, Inc.
This commit is contained in:
Justin Hibbits 2023-02-07 13:40:06 -05:00
parent aac2d19d93
commit 68b47dcbe3

View File

@ -973,8 +973,8 @@ xgbe_config_rx_mode(struct xgbe_prv_data *pdata)
{
unsigned int pr_mode, am_mode;
pr_mode = ((pdata->netdev->if_flags & IFF_PPROMISC) != 0);
am_mode = ((pdata->netdev->if_flags & IFF_ALLMULTI) != 0);
pr_mode = ((if_getflags(pdata->netdev) & IFF_PPROMISC) != 0);
am_mode = ((if_getflags(pdata->netdev) & IFF_ALLMULTI) != 0);
xgbe_set_promiscuous_mode(pdata, pr_mode);
xgbe_set_all_multicast_mode(pdata, am_mode);