From 722226c4f1d45c8bf4ac9189523738abcf7d648f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 10 Dec 2014 11:40:40 +0100 Subject: [PATCH] Avoid sending empty DHCPv6 release messages --- src/odhcp6c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 3712830..a37de91 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -395,6 +395,8 @@ int main(_unused int argc, char* const argv[]) break; } + odhcp6c_expire(); + size_t ia_pd_len, ia_na_len, server_id_len; odhcp6c_get_state(STATE_IA_PD, &ia_pd_len); odhcp6c_get_state(STATE_IA_NA, &ia_na_len); -- 2.39.2