summaryrefslogtreecommitdiff
path: root/dhcpctl
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2007-05-08 23:05:22 +0000
committerDavid Hankins <dhankins@isc.org>2007-05-08 23:05:22 +0000
commit98bd7ca0990e6d88e3345d3bc966ebe8216691a7 (patch)
treec4437ca467e8f733d530170a5c445747b2defd68 /dhcpctl
parent74dc3e0b2786c46956e7517398ae6f7c6dad52d7 (diff)
downloadisc-dhcp-98bd7ca0990e6d88e3345d3bc966ebe8216691a7.tar.gz
DHCPv6 branch merged to HEAD.
Diffstat (limited to 'dhcpctl')
-rw-r--r--dhcpctl/omshell.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/dhcpctl/omshell.c b/dhcpctl/omshell.c
index ffbde434..1107eeff 100644
--- a/dhcpctl/omshell.c
+++ b/dhcpctl/omshell.c
@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
-"$Id: omshell.c,v 1.12 2007/01/29 10:25:55 shane Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
+"$Id: omshell.c,v 1.13 2007/05/08 23:05:20 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include <time.h>
@@ -58,6 +58,10 @@ int parse_allow_deny (struct option_cache **oc, struct parse *cfile, int flag)
}
void dhcp (struct packet *packet) { }
void bootp (struct packet *packet) { }
+
+/* XXX: should we warn or something here? */
+void dhcpv6(struct packet *packet) { }
+
int check_collection (struct packet *p, struct lease *l, struct collection *c)
{
return 0;
@@ -76,8 +80,8 @@ static void check (isc_result_t status, const char *func) {
}
}
-int main (int argc, char **argv, char **envp)
-{
+int
+main(int argc, char **argv) {
isc_result_t status, waitstatus;
dhcpctl_handle connection;
dhcpctl_handle authenticator;