From 4ff9da68ef5b9ba902b7a51ea1c9527df00bc19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sat, 5 Dec 2020 13:04:37 +0100 Subject: [PATCH] Actually use the vlan_struct (#2347) --- supervisor/api/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/api/network.py b/supervisor/api/network.py index 5595d2a66..de3db6b9e 100644 --- a/supervisor/api/network.py +++ b/supervisor/api/network.py @@ -121,7 +121,7 @@ def interface_struct(interface: Interface) -> Dict[str, Any]: ATTR_IPV4: ipconfig_struct(interface.ipv4) if interface.ipv4 else None, ATTR_IPV6: ipconfig_struct(interface.ipv6) if interface.ipv6 else None, ATTR_WIFI: wifi_struct(interface.wifi) if interface.wifi else None, - ATTR_VLAN: wifi_struct(interface.vlan) if interface.vlan else None, + ATTR_VLAN: vlan_struct(interface.vlan) if interface.vlan else None, }