From cb2d110ccf282f5d947fdae7ceabd094c0882d00 Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Wed, 9 Nov 2011 16:08:35 +0100 Subject: adding some more options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- dhcpv6.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'dhcpv6.h') 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 */ -- cgit v1.2.3