summaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface.h')
-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;