summaryrefslogtreecommitdiff
path: root/relay/tests/relay_unittests.c
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2020-01-21 12:40:28 -0500
committerThomas Markwalder <tmark@isc.org>2020-01-21 12:40:28 -0500
commitb8724f78a6904c4b6f02ad5d52faf64102e86e6a (patch)
tree8b83c624aa4f73dec92d5ddfc262f09450ce57d6 /relay/tests/relay_unittests.c
parent18d088f258acd9a327c928db77212fde5a38e0c1 (diff)
downloadisc-dhcp-b8724f78a6904c4b6f02ad5d52faf64102e86e6a.tar.gz
[#80] Corrected unresolved symbol, dhcpv4o6() in relay_unittests under libtoolv4_4_2_f180-dhcpv4o6-undefined-in-relay-unittests-under-libtool
Removed dummy func defs, reworked #defines to satisfy symbols. Changes to be committed: modified: relay/dhcrelay.c modified: relay/tests/relay_unittests.c
Diffstat (limited to 'relay/tests/relay_unittests.c')
-rw-r--r--relay/tests/relay_unittests.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/relay/tests/relay_unittests.c b/relay/tests/relay_unittests.c
index cba14bd5..b308393f 100644
--- a/relay/tests/relay_unittests.c
+++ b/relay/tests/relay_unittests.c
@@ -406,29 +406,3 @@ ATF_TP_ADD_TCS(tp) {
return (atf_no_error());
}
-
-/* Below are dummy function definitions to satisfy "required" symbols */
-isc_result_t find_class (struct class **c, const char *s,
- const char *file, int line) {
- return 0;
-}
-
-int check_collection (struct packet *packet, struct lease *lease,
- struct collection *collection) {
- return 0;
-}
-
-void classify (struct packet *packet, struct class *class){}
-void bootp(struct packet *packet){}
-void dhcp(struct packet *packet){}
-void dhcpv6(struct packet *packet){}
-
-int parse_allow_deny (struct option_cache **oc, struct parse *cfile,
- int flag) {
- return 0;
-}
-
-isc_result_t dhcp_set_control_state (control_object_state_t oldstate,
- control_object_state_t newstate) {
- return (ISC_R_SUCCESS);
-}