Changeset 93421 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/linux
- Timestamp:
- Jan 24, 2022 6:44:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
r93418 r93421 68 68 69 69 /** Set netdev MAC address. */ 70 #if RTLNX_VER_MAX(5,17,0) 70 #if RTLNX_VER_MIN(5,17,0) 71 # define VBOX_DEV_ADDR_SET(dev, addr, len) dev_addr_mod(dev, 0, addr, len) 72 #else /* < 5.17.0 */ 71 73 # define VBOX_DEV_ADDR_SET(dev, addr, len) memcpy(dev->dev_addr, addr, len) 72 #else /* >= 5.17.0 */73 # define VBOX_DEV_ADDR_SET(dev, addr, len) dev_addr_mod(dev, 0, addr, len)74 74 #endif 75 75
Note:
See TracChangeset
for help on using the changeset viewer.