summaryrefslogtreecommitdiff
path: root/dhcpv6.h
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2011-11-09 16:08:35 +0100
committerBjørn Mork <bjorn@mork.no>2011-11-09 16:20:38 +0100
commitcb2d110ccf282f5d947fdae7ceabd094c0882d00 (patch)
tree743a77278f28c3bb19a946fb6ca3ab7a5c8d85d1 /dhcpv6.h
parent0d8490e5f08a9e9edd32f56a0ffe38c1dc460e56 (diff)
adding some more options
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'dhcpv6.h')
-rw-r--r--dhcpv6.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/dhcpv6.h b/dhcpv6.h
index ebfa93a..4a1d9d0 100644
--- a/dhcpv6.h
+++ b/dhcpv6.h
@@ -35,11 +35,6 @@ static struct dhcpv6_option *nextopt(const struct dhcpv6_option *opt) {
}
-#define NEXTOPT(x) \
- x = ((struct dhcpv6_option *)x)->len ? \
- (struct dhcpv6_option *)((char *)x + (ntohs(((struct dhcpv6_option *)x)->len) + sizeof(struct dhcpv6_option))) : \
- NULL
-
/* all the following are ref http://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml */
/* message types */