projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPv6: Reverse assignment sorting order
[project/netifd.git]
/
interface-ip.c
diff --git
a/interface-ip.c
b/interface-ip.c
index
3b6be6b
..
6698bac
100644
(file)
--- a/
interface-ip.c
+++ b/
interface-ip.c
@@
-733,7
+733,7
@@
static void interface_update_prefix_assignments(struct device_prefix *prefix, bo
struct list_head *next = &assign_later;
struct device_prefix_assignment *n;
list_for_each_entry(n, &assign_later, head) {
struct list_head *next = &assign_later;
struct device_prefix_assignment *n;
list_for_each_entry(n, &assign_later, head) {
- if (n->length
>
c->length) {
+ if (n->length
<
c->length) {
next = &n->head;
break;
}
next = &n->head;
break;
}