Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanups about host_conf{}

  removed prefix_binding_list, which was actually unused
  located prefix_list and addr_list as a group
  updated comments
  • Loading branch information...
commit b0e3bef1a4f5914de39efe4d9235edf0e95e977e 1 parent 4ceda3f
jinmei authored
Showing with 6 additions and 11 deletions.
  1. +1 −2  kame/kame/dhcp6/config.c
  2. +5 −9 kame/kame/dhcp6/config.h
View
3  kame/kame/dhcp6/config.c
@@ -1,4 +1,4 @@
-/* $KAME: config.c,v 1.49 2005/01/12 06:06:11 suz Exp $ */
+/* $KAME: config.c,v 1.50 2005/04/01 12:43:36 jinmei Exp $ */
/*
* Copyright (C) 2002 WIDE Project.
@@ -451,7 +451,6 @@ configure_host(hostlist)
}
memset(hconf, 0, sizeof(*hconf));
TAILQ_INIT(&hconf->prefix_list);
- TAILQ_INIT(&hconf->prefix_binding_list);
TAILQ_INIT(&hconf->addr_list);
hconf->next = host_conflist0;
host_conflist0 = hconf;
View
14 kame/kame/dhcp6/config.h
@@ -1,4 +1,4 @@
-/* $KAME: config.h,v 1.38 2005/01/12 06:06:11 suz Exp $ */
+/* $KAME: config.h,v 1.39 2005/04/01 12:43:36 jinmei Exp $ */
/*
* Copyright (C) 2002 WIDE Project.
@@ -192,21 +192,17 @@ struct host_conf {
char *name; /* host name to identify the host */
struct duid duid; /* DUID for the host */
- /* delegated prefixes for the host */
- /* struct dhcp6_list prefix_list; */
- struct dhcp6_list prefix_list;
- /* bindings of delegated prefixes */
- struct dhcp6_list prefix_binding_list;
+ /* prefixes to be delegated to the host */
+ struct dhcp6_list prefix_list;
+ /* address to be assigned for the host */
+ struct dhcp6_list addr_list;
/* secret key shared with the client for delayed authentication */
struct keyinfo *delayedkey;
/* previous replay detection value from the client */
int saw_previous_rd; /* if we remember the previous value */
u_int64_t previous_rd;
-
- /* address binding for the host */
- struct dhcp6_list addr_list;
};
/* DHCPv6 authentication information */
Please sign in to comment.
Something went wrong with that request. Please try again.