1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00

add additional debug messages

This commit is contained in:
Stefan Lankes 2017-06-14 15:00:52 +02:00
parent 1e3134a2ec
commit 9311a27019

View file

@ -174,11 +174,15 @@ static int init_netifs(void)
LOG_INFO("TCP/IP initialized.\n");
sys_sem_free(&sem);
if (is_uhyve())
if (is_uhyve()) {
LOG_INFO("HermitCore is running on uhyve!\n");
return -ENODEV;
}
if (!is_single_kernel())
{
LOG_INFO("HermitCore is running side-by-side to Linux!\n");
/* Set network address variables */
IP_ADDR4(&gw, 192,168,28,1);
IP_ADDR4(&ipaddr, 192,168,28,isle+2);