summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.h b/device.h
index 37f8c37..6751628 100644
--- a/device.h
+++ b/device.h
@@ -219,7 +219,7 @@ struct device {
struct vlist_tree vlans;
struct kvlist vlan_aliases;
- char ifname[IFNAMSIZ + 1];
+ char ifname[IFNAMSIZ];
int ifindex;
struct blob_attr *config;