This sample assumes that two separate sockets can be bound on IPv4 and IPv6. On Linux (via Native Simulator Offloaded Sockets) this is possible when there is no IPv4 to IPv6 mapping. Same can be true to other offloaded sockets. CONFIG_NET_IPV4_MAPPING_TO_IPV6 is disabled for this sample, so IPv4 to IPv6 mapping is disabled for Zephyr native IPv6 layer. For offloaded sockets this option does not define whether mapping is enabled or not, so try to unconditionally (and without error checking) disable it. This patch fixes compatibility with NSOS, since two separate sockets can be bound on the same address and port, one for IPv4 and second for IPv6. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev> |
||
|---|---|---|
| .. | ||
| ca.der | ||
| certificate.h | ||
| common.h | ||
| dummy_psk.h | ||
| echo-apps-cert.der | ||
| echo-apps-key.der | ||
| echo-server.c | ||
| server_privkey.der | ||
| server.der | ||
| tcp.c | ||
| tunnel.c | ||
| udp.c | ||
| usb.c | ||
| vlan.c | ||