X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/17a8f7b655ab85979781db15290784fcd3c496f2..f1f885a356aaf04e494adbaa3b5457e434f58640:/package/swconfig/src/swlib.h?ds=inline diff --git a/package/swconfig/src/swlib.h b/package/swconfig/src/swlib.h index b3c6769de..ff73969c8 100644 --- a/package/swconfig/src/swlib.h +++ b/package/swconfig/src/swlib.h @@ -114,10 +114,12 @@ struct uci_package; struct switch_dev { int id; + char dev_name[IFNAMSIZ]; const char *name; - const char *dev_name; + const char *alias; int ports; int vlans; + int cpu_port; struct switch_attr *ops; struct switch_attr *port_ops; struct switch_attr *vlan_ops;