]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove dead increament.
authorRoy Marples <roy@marples.name>
Mon, 29 Sep 2014 18:35:46 +0000 (18:35 +0000)
committerRoy Marples <roy@marples.name>
Mon, 29 Sep 2014 18:35:46 +0000 (18:35 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index b4bf1df182404b1a84447c88f236212822c936fe..4e80385ba9d6b18f6dcdd60d1fe42b18e00f8857 100644 (file)
--- 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);