librmnetctl: Fix potential overflow

Change bound from <= to < to avoid potential buffer overflow.

Change-Id: Ib08d4913d9861f064a046cda5dc61f639a81bf28
diff --git a/rmnetctl/src/librmnetctl.c b/rmnetctl/src/librmnetctl.c
index 52e8ca9..8ad1874 100644
--- a/rmnetctl/src/librmnetctl.c
+++ b/rmnetctl/src/librmnetctl.c
@@ -1142,7 +1142,7 @@
 	     rta = RTA_NEXT(rta, len)) {
 		__u16 type = rta->rta_type & NLA_TYPE_MASK;
 
-		if (type > 0 && type <= maxtype)
+		if (type > 0 && type < maxtype)
 			tb[type] = rta;
 	}
 }