Skip to content

Commit be88208

Browse files
authored
Merge pull request #21396 from krzysztof-cabaj/examples-nanocoap-fix-int-typo
examples/nanocoap_server: fix typo in LWIP interface name
2 parents db0f497 + d3dc0c0 commit be88208

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/networking/coap/nanocoap_server/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ else
2727

2828
USEMODULE += lwip_arp
2929
USEMODULE += lwip_ipv4
30-
USEMODULE += netdev_legacy_api
3130

3231
# If this module will be disabled, example set IPv4 192.168.100.150 address.
3332
USEMODULE += lwip_dhcp_auto

examples/networking/coap/nanocoap_server/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int main(void)
5353
#define _TEST_ADDR4_MASK (0x00ffffffU) /* 255.255.255.0 */
5454

5555
sys_lock_tcpip_core();
56-
struct netif *iface = netif_find("ET0aa");
56+
struct netif *iface = netif_find("ET0");
5757

5858
#ifndef MODULE_LWIP_DHCP_AUTO
5959
ip4_addr_t ip, subnet;

0 commit comments

Comments
 (0)