]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Be specific
authorRoy Marples <roy@marples.name>
Sat, 22 Mar 2014 20:42:40 +0000 (20:42 +0000)
committerRoy Marples <roy@marples.name>
Sat, 22 Mar 2014 20:42:40 +0000 (20:42 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index 716a3c22f7e6cbce81fa4f5092b596089b2d233b..915ea027dc2c6d13c45e511a9663986f3f3deb17 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -1756,7 +1756,7 @@ dhcp6_delegate_addr(struct interface *ifp, struct ipv6_addr *prefix,
 
                /* Make a 64 prefix by default, as this maks SLAAC
                 * possible.  Otherwise round up to the nearest octet. */
-               if (asla.prefix_len < 64)
+               if (asla.prefix_len <= 64)
                        asla.prefix_len = 64;
                else
                        asla.prefix_len = ROUNDUP8(asla.prefix_len);