diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-11 17:34:04 -0400 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2023-12-26 15:22:55 -0600 |
commit | 3d9f381964e53fe0ce6456724660727283802f48 (patch) | |
tree | 3e42c5111c200b45634241bef1a5b4a602580490 /src/conf_mode/service_upnp.py | |
parent | 975ce1c71352e319abef59e9e63de2c3fca2f281 (diff) | |
download | vyos-1x-3d9f381964e53fe0ce6456724660727283802f48.tar.gz vyos-1x-3d9f381964e53fe0ce6456724660727283802f48.zip |
ddclient: T5144: Fix migration to avoid config name conflict
When migrating from `service dns dynamic interface <interface> ...` to
`service dns dynamic address <address> ...`, the config name can
potentially have a conflict when `address == 'web'`.
Although the `/run/ddclient/ddclient.conf` that was generated earlier
was incorrect, one could still potentially have misconfigured VyOS
config without realizing it.
We now append the old <interface> name to the config name to avoid
conflict.
Diffstat (limited to 'src/conf_mode/service_upnp.py')
0 files changed, 0 insertions, 0 deletions