summaryrefslogtreecommitdiff
path: root/package/swconfig/src/swlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/swconfig/src/swlib.h')
-rw-r--r--package/swconfig/src/swlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/swconfig/src/swlib.h b/package/swconfig/src/swlib.h
index 2c2fccd394..ff73969c87 100644
--- a/package/swconfig/src/swlib.h
+++ b/package/swconfig/src/swlib.h
@@ -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;