Actually use the vlan_struct
@@ -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,
}
