system-linux: add support for configurable GRO option
[project/netifd.git] / iprule.h
index 6d91d061e04109d28ba052c4fb0f75fb4b7c1903..488aafc69c3a7bc305139f58035280776e7a6246 100644 (file)
--- 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                   */