Branch: refs/heads/master
Home: https://github.com/ddclient/ddclient
Commit: e3a6cbf1b64c1c74d98e19624bf5ea23fe384847
https://github.com/ddclient/ddclient/commit/e3a6cbf1b64c1c74d98e19624bf5ea23fe384847
Author: Richard Hansen <rh...@rh...>
Date: 2020-06-12 (Fri, 12 Jun 2020)
Changed paths:
M ChangeLog.md
M ddclient
Log Message:
-----------
Prefer `ip` command from iproute2 over `ifconfig`
On Linux systems, `ifconfig` is long deprecated in favor of the `ip`
command from iproute2. Some systems don't have iproute2 (BSDs in
particular), so ddclient will still attempt `ifconfig` if `ip` is
missing.
Also: Don't hide STDERR because error messages are important for
troubleshooting problems. To avoid STDERR noise on systems without the
`ip` command, the command's existence is checked before it is run.
Notes:
* The fetched addresses could be limited to IPv4 or IPv6 depending
on `opt('ipv6')`, and non-global addresses could be filtered out,
but any filtering risks breaking a nontrivial number of existing
configurations.
* This change runs the risk of breaking existing configs that set
`if-skip`. Due to the deprecation of `ifconfig`, and the belief
that only a negligible number of users set `if-skip`, the benefits
of this change are believed to outweigh the config migration
burden imposed on users.
Fixes #93.
Commit: 38bec6d135edf308b61d8bb0d9ca32fb0e70bed1
https://github.com/ddclient/ddclient/commit/38bec6d135edf308b61d8bb0d9ca32fb0e70bed1
Author: Sandro <san...@gm...>
Date: 2020-06-13 (Sat, 13 Jun 2020)
Changed paths:
M ChangeLog.md
M ddclient
Log Message:
-----------
Merge pull request #171 from rhansen/iproute2
Prefer `ip` command from iproute2 over `ifconfig`
Compare: https://github.com/ddclient/ddclient/compare/20429c11992f...38bec6d135ed
|