If more than one interface is used, chances are that the last one added
will have changed the default interface used for sending data (see
netif_set_default). This causes problems for the DHCP server in the PAN
example as the DHCP reply is sent on the wrong network. On Windows this
can cause it to use the wrong address.
Send replies to the interface that received the dhcp request.
- add lwIP sources commit b3a939417 (after STABLE-2.1.1) as 3rd-party/lwip/core
- add small DHCP server as 3rd-party/lwip/dhcp-server
- add BNEP lwIP adapter that handles BNEP events and forwards packets between BNEP and lwIP (only tested for NO_SYS == 1)
- add pan_lwip_http_server example that provides lwIP http server on http://192.168.7.1
- example is added to port/libusb