summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2017-08-23 14:05:26 +0000
committerflorian <florian@openbsd.org>2017-08-23 14:05:26 +0000
commitd0f4956525ac52c9727c8a887e49155ea460f7af (patch)
tree1dfc625bbe937a0c51f57f23824aa75081bced09
parentInstall the patched kernel on the build machine just like we do for (diff)
downloadwireguard-openbsd-d0f4956525ac52c9727c8a887e49155ea460f7af.tar.xz
wireguard-openbsd-d0f4956525ac52c9727c8a887e49155ea460f7af.zip
Ooops, we need to call timeout_from_lifetime() in configure_address()
where we previously extracted the code and moved it to a function.
-rw-r--r--sbin/slaacd/engine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/slaacd/engine.c b/sbin/slaacd/engine.c
index c8d32c3e342..0e70e0b923c 100644
--- a/sbin/slaacd/engine.c
+++ b/sbin/slaacd/engine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: engine.c,v 1.16 2017/08/23 10:48:01 florian Exp $ */
+/* $OpenBSD: engine.c,v 1.17 2017/08/23 14:05:26 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
@@ -1763,6 +1763,7 @@ configure_address(struct address_proposal *addr_proposal)
{
struct imsg_configure_address address;
+ timeout_from_lifetime(addr_proposal);
addr_proposal->state = PROPOSAL_CONFIGURED;
log_debug("%s: %d", __func__, addr_proposal->if_index);