summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv6-ia.c
diff options
context:
space:
mode:
authorHans Dedecker <hans.dedecker@technicolor.com>2014-01-23 10:44:22 +0100
committerHans Dedecker <hans.dedecker@technicolor.com>2014-01-23 10:44:22 +0100
commit5d599d81ff97e1275935fd5c1b6a5991f245cb61 (patch)
tree13f76e9be8be3b9d5592bd262b2cd1e1f5b3e0e0 /src/dhcpv6-ia.c
parent54a51ca4375c2ae1007e5bea26ebb6dc4e88b638 (diff)
parent482a8b369deca0c485b5d39e5ac302ed5ad42499 (diff)
Merge remote branch 'upstream/master' into bugfixes
Diffstat (limited to 'src/dhcpv6-ia.c')
-rw-r--r--src/dhcpv6-ia.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index 88840a4..4d68258 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -101,6 +101,7 @@ int setup_dhcpv6_ia_interface(struct interface *iface, bool enable)
list_for_each_entry(c, &iface->ia_assignments, head) {
if (c->length != 128 || c->assigned > a->assigned) {
list_add_tail(&a->head, &c->head);
+ break;
} else if (c->assigned == a->assigned) {
// Already an assignment with that number
break;