mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use the more common macro to set the if_baudrate to 10Gbit/s. Just use
UL not ULL, which should make 32bit archs more happy.
This commit is contained in:
parent
c3ed30eb19
commit
84c2fd2f94
1 changed files with 1 additions and 1 deletions
|
|
@ -1644,7 +1644,7 @@ oce_attach_ifp(POCE_SOFTC sc)
|
|||
sc->ifp->if_capabilities |= IFCAP_LRO;
|
||||
|
||||
sc->ifp->if_capenable = sc->ifp->if_capabilities;
|
||||
sc->ifp->if_baudrate = IF_Mbps(10000ULL);
|
||||
sc->ifp->if_baudrate = IF_Gbps(10UL);
|
||||
|
||||
ether_ifattach(sc->ifp, sc->macaddr.mac_addr);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue