summaryrefslogtreecommitdiff
path: root/libdhcp/tests
diff options
context:
space:
mode:
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;
}