summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dhcp6leased/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhcp6leased/parse.y b/sbin/dhcp6leased/parse.y
index 2ed076a9b9d..da2a095fb00 100644
--- a/sbin/dhcp6leased/parse.y
+++ b/sbin/dhcp6leased/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.3 2024/06/02 17:26:54 florian Exp $ */
+/* $OpenBSD: parse.y,v 1.4 2024/06/02 17:44:06 florian Exp $ */
/*
* Copyright (c) 2018, 2024 Florian Obser <florian@openbsd.org>
@@ -792,7 +792,7 @@ addressing_plan(struct iface_ia_conf *ia_conf)
{
struct iface_pd_conf *pd_conf;
uint64_t *p, lo_counter, hi_counter, lo_shift, hi_shift;
- int prev_plen;
+ int prev_plen = -1;
lo_counter = hi_counter = 0;