diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/nxge/if_nxge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nxge/if_nxge.c b/sys/dev/nxge/if_nxge.c index 5390120..0b8b508 100644 --- a/sys/dev/nxge/if_nxge.c +++ b/sys/dev/nxge/if_nxge.c @@ -2246,7 +2246,7 @@ void xge_initialize(device_t dev, xge_hal_channel_reopen_e option) xge_hal_device_enable(hldev); /* Get MAC address and update in HAL */ - ifaddrp = ifaddr_byindex(ifnetp->if_index); + ifaddrp = ifnetp->if_addr; sockaddrp = (struct sockaddr_dl *)ifaddrp->ifa_addr; sockaddrp->sdl_type = IFT_ETHER; sockaddrp->sdl_alen = ifnetp->if_addrlen; |