summaryrefslogtreecommitdiff
path: root/iprule.h
diff options
context:
space:
mode:
Diffstat (limited to 'iprule.h')
-rw-r--r--iprule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/iprule.h b/iprule.h
index 6d91d06..488aafc 100644
--- a/iprule.h
+++ b/iprule.h
@@ -77,8 +77,8 @@ struct iprule {
struct interface_user out_iface_user;
/* device name */
- char in_dev[IFNAMSIZ + 1];
- char out_dev[IFNAMSIZ + 1];
+ char in_dev[IFNAMSIZ];
+ char out_dev[IFNAMSIZ];
/* everything below is used as avl tree key */
/* don't change the order */