From: Roy Marples Date: Mon, 29 Sep 2014 18:35:46 +0000 (+0000) Subject: Remove dead increament. X-Git-Tag: v6.5.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dcc1fa3bc260d06d62b7f0a7afefcf59790fa24;p=thirdparty%2Fdhcpcd.git Remove dead increament. --- diff --git a/dhcp6.c b/dhcp6.c index b4bf1df1..4e80385b 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -847,7 +847,6 @@ dhcp6_makemessage(struct interface *ifp) if (dhcp6_findselfsla(ifp, NULL)) { u16 = htons(D6_OPTION_PD_EXCLUDE); memcpy(p, &u16, sizeof(u16)); - p += sizeof(u16); o->len += sizeof(u16); } o->len = htons(o->len);