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 b3a86f20590014f41e05a4fd66c7dc7a68f981b3..afdeb186af09c2b950eae402b0b00f2fda0e4412 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;