luci-app-ddns: fix update time calculation
authorsmall_5 <61473216+small-5@users.noreply.github.com>
Thu, 4 Mar 2021 02:50:25 +0000 (10:50 +0800)
committerJo-Philipp Wich <jo@mein.io>
Tue, 3 May 2022 13:53:25 +0000 (15:53 +0200)
commit9139ad468599b586dbd7ca48fe5a149c95f28800
treea959e28bde27552a882dc86cf4c616822557af37
parenta993714790cfe22bfae3ccd2f8b036b1434fe244
luci-app-ddns: fix update time calculation

* Fix last_update overflow

* Fix next_update wrong when the router is just started

* Fix missing check_seconds for next_update

Signed-off-by: Small_5 <61473216+small-5@users.noreply.github.com>
(cherry picked from commit 58ed2b211a1add5fb2cb3750af6074c4d51c307a)
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns