We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c41722 commit 19614a0Copy full SHA for 19614a0
src/libsystemd-network/test-dhcp-server.c
@@ -62,7 +62,9 @@ static int test_basic(bool bind_to_interface) {
62
test_pool(&address_lo, 1, 0);
63
64
r = sd_dhcp_server_start(server);
65
- if (r == -EPERM)
+ /* skip test if running in an environment with no full networking support, CONFIG_PACKET not
66
+ * compiled in kernel, nor af_packet module available. */
67
+ if (r == -EPERM || r == -EAFNOSUPPORT)
68
return r;
69
assert_se(r >= 0);
70
0 commit comments