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:
94c8619
)
Fix a race-condition in prefix-assignment
author
Steven Barth
<steven@midlink.org>
Tue, 15 Jan 2013 12:19:34 +0000
(13:19 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 15 Jan 2013 12:30:51 +0000
(13:30 +0100)
interface-ip.c
patch
|
blob
|
history
diff --git
a/interface-ip.c
b/interface-ip.c
index 99f654048e2a5cf67c4aa81faadbd751942133ca..b5613b2283d85debacacbdc1d09a231305ec2c3f 100644
(file)
--- a/
interface-ip.c
+++ b/
interface-ip.c
@@
-529,7
+529,6
@@
interface_ip_set_prefix_assignment(struct device_prefix *prefix,
if (assignment)
interface_set_prefix_address(iface, false, assignment);
} else {
- uint8_t length = iface->proto_ip.assignment_length;
uint64_t want = 1ULL << (64 - length);
char *name;