mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Finish mechanical conversion of axgbe(4) to IfAPI.
Sponsored by: Juniper Networks, Inc.
This commit is contained in:
parent
aac2d19d93
commit
68b47dcbe3
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue