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:
parent
aac2d19d93
commit
68b47dcbe3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user