Sunil Mohan Adapa d77f812d11
dynamicdns: Fix adding null domain into configuration
When old configuration is not set and is exported with new code into newer
format, the result is a domain added with domain name 'null'. This causes issues
with UI not showing configuration and with null domain being added into
configurations of various daemons.

Tests:

- To reproduce the issue, switch to a revision with old dynamicdns code. Then
switch to a latest version without the fix. A 'null' domain is added to
configuration.

- To reproduce the issue, switch to a revision with old dynamicdns code. Then
switch to a latest version with the fix. A 'null' domain is not added to
configuration.

- With null domain in the configuration. Start FreedomBox with the fix. The null
domain should be removed and null domain should not be announced to other
daemons.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:39:13 -05:00
..
2020-09-27 22:16:07 +05:30
2021-09-20 16:50:37 -04:00
2022-03-02 07:38:28 -05:00
i2p
2021-09-20 16:50:37 -04:00
2020-05-18 08:49:31 -04:00
2020-09-29 20:46:36 -04:00
2020-08-19 14:03:20 -07:00
2021-09-20 16:50:37 -04:00
tor
2020-05-24 08:59:55 -04:00
2021-11-21 19:10:54 -05:00
2021-09-20 16:50:37 -04:00