Actually use the vlan_struct (#2347)

This commit is contained in:
Joakim Sørensen 2020-12-05 13:04:37 +01:00 committed by GitHub
parent dee2998ee3
commit 4ff9da68ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}