summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-28 19:07:59 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-03-28 19:07:59 +0200
commitddbc9bb6e4769b9654a5ab12acf64c448c70e7bb (patch)
treea54d8f49c9c062b662f28f5c16498e6d35358783
parent572963edb1875379a5187e5ec705c921bc622d21 (diff)
downloadnetifd-ddbc9bb6e4769b9654a5ab12acf64c448c70e7bb.tar.gz
allow longer interface names
-rw-r--r--interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.h b/interface.h
index b3a86f2..afdeb18 100644
--- a/interface.h
+++ b/interface.h
@@ -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;