projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a2ccd7
)
IPv6: fix prefix assignment with continuous hints
author
Steven Barth
<steven@midlink.org>
Tue, 16 Jul 2013 12:01:52 +0000
(14:01 +0200)
committer
Steven Barth
<steven@midlink.org>
Tue, 16 Jul 2013 12:01:52 +0000
(14:01 +0200)
interface-ip.c
patch
|
blob
|
history
diff --git
a/interface-ip.c
b/interface-ip.c
index 6698bac9ffeeb3bd8ef058ce640c2a637cd9d92e..29db745300ada4571e32ff75018dc92b9a03228b 100644
(file)
--- 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;
}