swconfig: swlib.c: free portmaps in swlib_free()
[openwrt/openwrt.git] / package / network / config / swconfig / src / swlib.h
index 28bdd7f7cbea22c1070c98cc72c93fe04bc6ae5f..2b42c1476088ab03148b0585352cce765e662d20 100644 (file)
@@ -158,7 +158,7 @@ struct switch_port {
 
 struct switch_portmap {
        unsigned int virt;
-       const char *segment;
+       char *segment;
 };
 
 /**