summaryrefslogtreecommitdiffstats
path: root/etc/rc.dhclient_cron
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2013-02-24 09:09:27 +0545
committerPhil Davis <phil.davis@world.inf.org>2013-02-24 09:09:27 +0545
commitf5e293e6707b34a9e68b6cfc4a9fb0563648ce4e (patch)
tree23104a222f84f810614d61a29f3522d8e8e0d1af /etc/rc.dhclient_cron
parenta6b14d7e66cfa8feed7087d11a8810b680dcff59 (diff)
downloadpfsense-f5e293e6707b34a9e68b6cfc4a9fb0563648ce4e.zip
pfsense-f5e293e6707b34a9e68b6cfc4a9fb0563648ce4e.tar.gz
Cleanup code handling 25 day dyndns update
The code that checks if an IP has not changed for 25 days has out-of-date comments and uses "25" in multiple places and the magic number for 25 days in seconds. Clean this up so that "25" is set once in a variable and used everywhere else for logging and calculating seconds. This makes the code easier to read and maintain, particularly if in future the max age needs to be changed for some/all providers.
Diffstat (limited to 'etc/rc.dhclient_cron')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud