summaryrefslogtreecommitdiffhomepage
path: root/interface-ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'interface-ip.c')
-rw-r--r--interface-ip.c1
1 files changed, 0 insertions, 1 deletions
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;