fix: tighten _wan_external_ipv6 except to _OPTIONAL_SERVICE_ERRORS
This commit is contained in:
1 parent
0ba884c808
commit
99e9431666
1 file changed
+1
-1
@@ -175,7 +175,7 @@ class FritzBoxDriver(ResidentialGatewayDriver):
|
|||||||
return self._call(service, "X_AVM-DE_GetExternalIPv6Address").get(
|
return self._call(service, "X_AVM-DE_GetExternalIPv6Address").get(
|
||||||
"NewExternalIPv6Address", ""
|
"NewExternalIPv6Address", ""
|
||||||
)
|
)
|
||||||
except Exception:
|
except _OPTIONAL_SERVICE_ERRORS:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|||||||
Reference in new issue
Block a user