From d2bbdee995dd1c15ba2928aee5e68c7ff2982b8d Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 3 May 2018 09:54:02 +0200 Subject: [PATCH] fix typo introduced in 00abd9e6c8 --- miniupnpd/upnpredirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpd/upnpredirect.c b/miniupnpd/upnpredirect.c index 30b0908..2306ca5 100644 --- a/miniupnpd/upnpredirect.c +++ b/miniupnpd/upnpredirect.c @@ -274,7 +274,7 @@ int reload_from_lease_file() continue; } else { leaseduration = timestamp - current_unix_time; - timestamp = lease_duration + current_time; /* convert to our time */ + timestamp = leaseduration + current_time; /* convert to our time */ } #endif } else {