allow longer interface names
[project/netifd.git] / interface.h
index b3a86f2..afdeb18 100644 (file)
@@ -33,7 +33,7 @@ struct interface_error {
 struct interface {
        struct list_head list;
 
-       char name[IFNAMSIZ - 2];
+       char name[IFNAMSIZ];
 
        /* interface is up and running */
        bool up;