swconfig: Add generic switch identifiers
[openwrt.git] / package / swconfig / src / swlib.h
index 2c2fccd..ff73969 100644 (file)
@@ -114,8 +114,9 @@ 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;
This page took 0.025999 seconds and 4 git commands to generate.