net: More space for longer interface names
authornorly <ny-git@enpas.org>
Tue, 6 Feb 2018 21:15:53 +0000 (22:15 +0100)
committernorly <ny-git@enpas.org>
Tue, 6 Feb 2018 21:15:53 +0000 (22:15 +0100)
src/status/netif.c

index e760b4c7393420944996b1dfd28d8cd2156c2d7a..6e1219186ee7f474134c351d1d161ca1b9c65611 100644 (file)
@@ -15,7 +15,7 @@
 void status_netif(GlobalData *g, char *ifname)
 {
   StatusItem s;
-  char text[16] = { 0 };
+  char text[20] = { 0 };
 
   char ifpath[256];
   int ifpathlen;