From 72ebaba19ded36b101f3be0f233361970f8eec13 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 15 Jan 2013 13:19:34 +0100 Subject: [PATCH] Fix a race-condition in prefix-assignment --- interface-ip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/interface-ip.c b/interface-ip.c index 99f6540..b5613b2 100644 --- 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; -- 2.25.1