summaryrefslogtreecommitdiff
path: root/dhcpv6.h
diff options
context:
space:
mode:
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 */