This commit is contained in:
root 2011-06-20 19:06:05 +02:00
parent 1f7fba81dc
commit c9ce3513dd

View file

@ -1182,13 +1182,14 @@ int mmnif_open()
own_ip_address+= get_my_core_no() +1;
DEBUGPRINTF("COCOCOCOCOOCOCOCOCOCOCOMBO BREAKER %d",own_ip_address);
#ifdef WIN32
mmnif_dev = malloc(sizeof(struct netif));
#else
mmnif_dev = kmalloc(sizeof(struct netif));
#endif
DEBUGPRINTF("CDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDc");
/* register our Memory Mapped Virtual IP interface in the lwip stack
* and tell him how to use the interface:
* - mmnif_dev : the device data storage