summaryrefslogtreecommitdiff
path: root/libdhcp/tests
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-09-28 17:01:59 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-09-28 17:01:59 -0600
commitfce80f2dc24ef45142ff92f74ebf809a39e06768 (patch)
tree01c591ca26460e7ca30597a85adff173d1ffc9a0 /libdhcp/tests
parentbbf836c886a348bab4fad92d7ba448d1bbc9c910 (diff)
parent35c0f64218f4aa562f2dcde8eace87962bcab4e4 (diff)
Merge branch 'lukeshu/linkdown'HEADmain
Diffstat (limited to 'libdhcp/tests')
-rw-r--r--libdhcp/tests/test_client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdhcp/tests/test_client.c b/libdhcp/tests/test_client.c
index 772d778..0112e76 100644
--- a/libdhcp/tests/test_client.c
+++ b/libdhcp/tests/test_client.c
@@ -99,6 +99,12 @@ static void test_ifcfg(struct test_iface *LM_UNUSED(self), struct net_iface_conf
cr_exit();
}
+static bool test_is_link_up(struct test_iface *LM_UNUSED(self)) {
+ return true;
+}
+
+static void test_wait_for_link_up(struct test_iface *LM_UNUSED(self)) {}
+
static bool test_arp_ping(struct test_iface *LM_UNUSED(self), struct net_ip4_addr LM_UNUSED(addr)) {
return false;
}