mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-19 09:35:15 -04:00
Add default IP
This commit is contained in:
parent
63f316e7f3
commit
1a801ce93f
@ -230,6 +230,9 @@ void network::init(){
|
||||
rtl8139::init_driver(interface, pci_device);
|
||||
}
|
||||
|
||||
// No IP address by default
|
||||
interface.ip_address = network::ip::make_address(0, 0, 0, 0);
|
||||
|
||||
if(interface.enabled){
|
||||
interface.tx_lock.init(1);
|
||||
interface.tx_sem.init(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user