-
Notifications
You must be signed in to change notification settings - Fork 380
Closed
Description
With ddclient 3.10 and 3.11.1, per host (service-level) settings seem to be ignored. A ddclient.conf with the line
usev4=ifv4, ifv4=ens4f0np0, protocol=noip, login=user, password=pw host.ddns.net
does not pick up the use/if information. But this conf works:
usev4=ifv4, ifv4=ens4f0np0
protocol=noip, login=user, password=pw host.ddns.net
There seems to be a missing inheritance issue (variable names not passed from opt->globals->config in the code). I added this, and it's working, but I don't know if it's what is needed:
--- ddclient.orig-3.11.1 2023-10-31 18:00:34.591821677 -0700
+++ ddclient 2023-10-31 18:00:52.467825277 -0700
@@ -818,6 +818,7 @@
'update' => \&nic_noip_update,
'examples' => \&nic_noip_examples,
'variables' => {
+ %{$variables{'service-common-defaults'}},
'atime' => setv(T_NUMBER, 0, 1, 0, undef),
'custom' => setv(T_BOOL, 0, 1, 0, undef),
'host' => setv(T_STRING, 1, 1, '', undef),
Metadata
Metadata
Assignees
Labels
No labels