forked from KolibriOS/kolibrios
network code cleanup, fix some statistics
git-svn-id: svn://kolibrios.org@7678 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -285,7 +285,7 @@ eth_api:
|
||||
cmp bh, NET_DEVICES_MAX
|
||||
ja .error
|
||||
movzx eax, bh
|
||||
mov eax, dword [NET_DRV_LIST + 4*eax]
|
||||
mov eax, dword [net_drv_list + 4*eax]
|
||||
cmp [eax + NET_DEVICE.device_type], NET_DEVICE_ETH
|
||||
jne .error
|
||||
|
||||
|
Reference in New Issue
Block a user