diff options
author | David Hankins <dhankins@isc.org> | 2007-05-19 18:47:15 +0000 |
---|---|---|
committer | David Hankins <dhankins@isc.org> | 2007-05-19 18:47:15 +0000 |
commit | fe5b0fdd70907a228c996a0d9a2857bc90a67e6f (patch) | |
tree | 98fca773de13ea25b36a8354547aff15b4070b52 /client/clparse.c | |
parent | 786b09305811b4f210e695961aaf3785a5d0d72d (diff) | |
download | isc-dhcp-fe5b0fdd70907a228c996a0d9a2857bc90a67e6f.tar.gz |
- Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
Diffstat (limited to 'client/clparse.c')
-rw-r--r-- | client/clparse.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/clparse.c b/client/clparse.c index cd530160..cc4b02b8 100644 --- a/client/clparse.c +++ b/client/clparse.c @@ -34,10 +34,11 @@ #ifndef lint static char copyright[] = -"$Id: clparse.c,v 1.69 2007/05/08 23:05:20 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n"; +"$Id: clparse.c,v 1.70 2007/05/19 18:47:13 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" +#include <errno.h> static TIME parsed_time; @@ -1151,6 +1152,10 @@ parse_client6_lease_statement(struct parse *cfile) unsigned len; int token, has_ia, no_semi, has_name; +#if !defined(DHCPv6) + parse_warn(cfile, "No DHCPv6 support."); + skip_to_semi(cfile); +#else /* defined(DHCPv6) */ token = next_token(NULL, NULL, cfile); if (token != LBRACE) { parse_warn(cfile, "Expecting open curly brace."); @@ -1344,6 +1349,7 @@ parse_client6_lease_statement(struct parse *cfile) dhc6_lease_destroy(client->active_lease, MDL); client->active_lease = lease; +#endif /* defined(DHCPv6) */ } /* Parse an ia_na object from the client lease. |