summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-10-12 09:05:04 +0000
committerTed Lemon <source@isc.org>2000-10-12 09:05:04 +0000
commit1a48c9c331a50cc0e78b962758da6f1c4c25f0fc (patch)
treed20d07ba25e955374f7bd3287b179093f29412c7
parente8bc9d318d5c32a299fc6711c74466fbd41307c7 (diff)
downloadisc-dhcp-1a48c9c331a50cc0e78b962758da6f1c4c25f0fc.tar.gz
Make dhcrelay link when DEBUG is defined.
-rw-r--r--relay/dhcrelay.c26
1 files changed, 25 insertions, 1 deletions
diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c
index 4a34b66a..dcb9d6e3 100644
--- a/relay/dhcrelay.c
+++ b/relay/dhcrelay.c
@@ -43,7 +43,7 @@
#ifndef lint
static char ocopyright[] =
-"$Id: dhcrelay.c,v 1.46 2000/09/29 18:14:00 mellon Exp $ Copyright (c) 1997-2000 Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.47 2000/10/12 09:05:04 mellon Exp $ Copyright (c) 1997-2000 Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -475,6 +475,30 @@ int find_subnet (struct subnet **sp,
return 0;
}
+#if defined (DEBUG)
+int check_collection (struct packet *p, struct lease *l,
+ struct collection *c)
+{
+ return 0;
+}
+
+void classify (struct packet *p, struct class *c)
+{
+}
+
+isc_result_t find_class (struct class **class, const char *c1,
+ const char *c2, int i)
+{
+ return ISC_R_NOTFOUND;
+}
+
+int parse_allow_deny (struct option_cache **oc, struct parse *p, int i)
+{
+ return 0;
+}
+
+#endif
+
/* Strip any Relay Agent Information options from the DHCP packet
option buffer. If an RAI option is found whose Agent ID matches
the giaddr (i.e., ours), try to look up the outgoing interface