allow longer interface names
authorFelix Fietkau <nbd@openwrt.org>
Mon, 28 Mar 2011 17:07:59 +0000 (19:07 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 28 Mar 2011 17:07:59 +0000 (19:07 +0200)
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;