Add log message that system restart is required for IPv6 changes

This commit is contained in:
Stefan Agner 2025-07-16 14:27:25 +02:00
parent ce6e82f9c5
commit 20e527a9db
No known key found for this signature in database
GPG Key ID: AE01353D1E44747D

View File

@ -60,6 +60,7 @@ class APIDocker(CoreSysAttributes):
body = await api_validate(SCHEMA_OPTIONS, request)
if ATTR_ENABLE_IPV6 in body:
_LOGGER.info("System restart required to apply new IPv6 configuration")
self.sys_docker.config.enable_ipv6 = body[ATTR_ENABLE_IPV6]
await self.sys_docker.config.save_data()