diff options
author | Steven Barth <steven@midlink.org> | 2013-07-16 14:01:52 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-07-16 14:01:52 +0200 |
commit | 2674941b06c1ec67f1aff1bff9212e1372106641 (patch) | |
tree | fb57db63ed42d3418513099edcd1a3db8277587b | |
parent | 5a2ccd7b750162b0d6ee13609f7e1ed5ea827d9d (diff) |
IPv6: fix prefix assignment with continuous hints
-rw-r--r-- | interface-ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-ip.c b/interface-ip.c index 6698bac..29db745 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -639,7 +639,7 @@ static bool interface_prefix_assign(struct list_head *list, struct device_prefix_assignment *c; list_for_each_entry(c, list, head) { if (assign->assigned != -1) { - if (assign->assigned > current && assign->assigned + asize < c->assigned) { + if (assign->assigned >= current && assign->assigned + asize < c->assigned) { list_add_tail(&assign->head, &c->head); return true; } |