Skip to content

Commit c0b7d8f

Browse files
jukkarfabiobaltieri
authored andcommitted
tests: net: coap: Enable loopback interface
There needs to be at least one network interface in order to avoid this error. E: There is no network interface to work with! So enable loopback support which creates a loopback interface. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
1 parent 2711e12 commit c0b7d8f

File tree

1 file changed

+1
-0
lines changed
  • tests/net/lib/coap_server/common

1 file changed

+1
-0
lines changed

tests/net/lib/coap_server/common/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CONFIG_NETWORKING=y
44
CONFIG_NET_TEST=y
55
CONFIG_ENTROPY_GENERATOR=y
66
CONFIG_TEST_RANDOM_GENERATOR=y
7+
CONFIG_NET_LOOPBACK=y
78

89
CONFIG_COAP=y
910
CONFIG_COAP_SERVER=y

0 commit comments

Comments
 (0)