fn has_ipdevice() -> bool {
	let ip = arch::x86_64::kernel::get_ip();

	if ip[0] == 255 && ip[1] == 255 && ip[2] == 255 && ip[3] == 255 {
		false
	} else {
		true
	}
}
/// Helper function to check if uhyve provide an IP device
Helper function to check if uhyve provide an IP device
Helper function to check if uhyve provide an IP device
fn has_ipdevice() -> bool {
	let ip = arch::x86_64::kernel::get_ip();
	if ip[0] == 255 && ip[1] == 255 && ip[2] == 255 && ip[3] == 255 {
		false
	} else {
		true
	}
}
fn has_ipdevice ( ) -> bool { let ip = arch :: x86_64 :: kernel :: get_ip ( ) ; if ip [ 0 ] == 255 && ip [ 1 ] == 255 && ip [ 2 ] == 255 && ip [ 3 ] == 255 { false } else { true } }
Helper function to check if uhyve provide an IP device
Helper function to check if uhyve provide an IP device