swconfig: Add cpu port index to help output.
[openwrt/staging/yousong.git] / package / swconfig / src / swlib.h
index b3c6769de19831711cae92090f8c6aeb64c4b89e..2c2fccd3943f8d87c5d76e49495a26e8e4e9dc32 100644 (file)
@@ -118,6 +118,7 @@ struct switch_dev {
        const char *dev_name;
        int ports;
        int vlans;
+       int cpu_port;
        struct switch_attr *ops;
        struct switch_attr *port_ops;
        struct switch_attr *vlan_ops;