On 10/6/22 06:39, Uwe Kleine-König wrote:
Using something like

        ip -json a show dev $if

as source would be more appropriate

It does use the `ip` command; it just attempts `ifconfig` first, and falls back to 
`ip` if `ifconfig` fails: 
<https://github.com/ddclient/ddclient/blob/v3.9.1/ddclient#L2227-L2228>.  The 
command not found error is benign and can be ignored.

(Note: ddclient v3.10.0 changed the behavior.  It now attempts `ip` before falling 
back to `ifconfig`, and it doesn't print an error if the command doesn't exist: 
<https://github.com/ddclient/ddclient/commit/e3a6cbf1b64c1c74d98e19624bf5ea23fe384847>.
  I have not yet updated the Debian package to v3.10.0.  I will do that soon.)

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to