ipvs: fix the IPVS_CMD_ATTR_MAX definition
authorJulian Anastasov <ja@ssi.bg>
Wed, 28 Aug 2013 16:31:22 +0000 (19:31 +0300)
committerSimon Horman <horms@verge.net.au>
Tue, 15 Oct 2013 01:36:01 +0000 (10:36 +0900)
It was wrong (bigger) but problem is harmless.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/uapi/linux/ip_vs.h

index 29458223d0448c186eafa8d8024ecd5179738f35..fbcffe8041f7aff03046f0e901902f44cb094d0d 100644 (file)
@@ -334,7 +334,7 @@ enum {
        __IPVS_CMD_ATTR_MAX,
 };
 
-#define IPVS_CMD_ATTR_MAX (__IPVS_SVC_ATTR_MAX - 1)
+#define IPVS_CMD_ATTR_MAX (__IPVS_CMD_ATTR_MAX - 1)
 
 /*
  * Attributes used to describe a service