summaryrefslogtreecommitdiff
path: root/python/vyos/util.py
diff options
context:
space:
mode:
authorFileGo <emilnovak@gmail.com>2021-05-18 20:24:28 +0100
committerChristian Poessinger <christian@poessinger.com>2021-05-18 21:25:59 +0200
commit6816d37501aa495d71a441a8e391a1249c4d13f6 (patch)
treec8292f85fe2fdee9e14b8cab6dcc60645c030037 /python/vyos/util.py
parent935914b815012639af3910359a7f695de2052018 (diff)
downloadvyos-1x-6816d37501aa495d71a441a8e391a1249c4d13f6.tar.gz
vyos-1x-6816d37501aa495d71a441a8e391a1249c4d13f6.zip
ddns: T3254: fix incorrect update time
This fixes a bug when show dynamic dns status returned (formatted) UNIX time 0. I have changed the code to use ddclient's mtime value in the cache file, which is updated on every successful sync with DDNS service as opposed to atime, which was previously used. (cherry picked from commit 89b127647cbf3fea3a439f43efa32a31aa03524e)
Diffstat (limited to 'python/vyos/util.py')
0 files changed, 0 insertions, 0 deletions