From: Felix Fietkau Date: Thu, 26 Nov 2020 09:20:11 +0000 (+0100) Subject: vlandev: dump vlan id in device status X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d6bd1047d004365d7376d5b39e231e6e40e87608;p=project%2Fnetifd.git vlandev: dump vlan id in device status Signed-off-by: Felix Fietkau --- diff --git a/vlandev.c b/vlandev.c index 0c0caab..595c461 100644 --- a/vlandev.c +++ b/vlandev.c @@ -229,6 +229,7 @@ vlandev_dump_info(struct device *dev, struct blob_buf *b) mvdev = container_of(dev, struct vlandev_device, dev); blobmsg_add_string(b, "parent", mvdev->parent.dev->ifname); system_if_dump_info(dev, b); + blobmsg_add_u32(b, "vid", mvdev->config.vid); vlandev_qos_mapping_dump(b, "ingress_qos_mapping", &mvdev->config.ingress_qos_mapping_list); vlandev_qos_mapping_dump(b, "egress_qos_mapping", &mvdev->config.egress_qos_mapping_list); }