mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-08-26 20:29:10 +00:00
Don't call lwip_sockets_init() in unix port "minimal" project as it
doesn't use the sockets API
This commit is contained in:
parent
86ced46a3d
commit
4662fd52fc
@ -47,7 +47,6 @@
|
|||||||
#include "lwip/tcp.h"
|
#include "lwip/tcp.h"
|
||||||
#include "mintapif.h"
|
#include "mintapif.h"
|
||||||
#include "netif/etharp.h"
|
#include "netif/etharp.h"
|
||||||
#include "lwip/sockets.h"
|
|
||||||
|
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@ -183,7 +182,6 @@ main(int argc, char **argv)
|
|||||||
ip_init();
|
ip_init();
|
||||||
udp_init();
|
udp_init();
|
||||||
tcp_init();
|
tcp_init();
|
||||||
lwip_socket_init();
|
|
||||||
printf("TCP/IP initialized.\n");
|
printf("TCP/IP initialized.\n");
|
||||||
|
|
||||||
netif_add(&netif, &ipaddr, &netmask, &gw, NULL, mintapif_init, ip_input);
|
netif_add(&netif, &ipaddr, &netmask, &gw, NULL, mintapif_init, ip_input);
|
||||||
|
Loading…
Reference in New Issue
Block a user