aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/swconfig/src/swlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/swconfig/src/swlib.h')
-rw-r--r--package/network/config/swconfig/src/swlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/swconfig/src/swlib.h b/package/network/config/swconfig/src/swlib.h
index 016f74b4fd..bb2ebd87d6 100644
--- a/package/network/config/swconfig/src/swlib.h
+++ b/package/network/config/swconfig/src/swlib.h
@@ -116,8 +116,8 @@ struct uci_package;
struct switch_dev {
int id;
char dev_name[IFNAMSIZ];
- const char *name;
- const char *alias;
+ char *name;
+ char *alias;
int ports;
int vlans;
int cpu_port;