mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
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>