aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ipvsadm/01-fix-not-showing-all-server.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ipvsadm/01-fix-not-showing-all-server.patch')
-rw-r--r--testing/ipvsadm/01-fix-not-showing-all-server.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/ipvsadm/01-fix-not-showing-all-server.patch b/testing/ipvsadm/01-fix-not-showing-all-server.patch
new file mode 100644
index 0000000000..7af6b3c556
--- /dev/null
+++ b/testing/ipvsadm/01-fix-not-showing-all-server.patch
@@ -0,0 +1,24 @@
+diff -urN ipvsadm-1.26.vanilla/libipvs/ip_vs.h ipvsadm-1.26/libipvs/ip_vs.h
+--- ipvsadm-1.26.vanilla/libipvs/ip_vs.h 2011-02-06 18:38:57.000000000 -0800
++++ ipvsadm-1.26/libipvs/ip_vs.h 2011-08-23 15:03:59.000000000 -0700
+@@ -413,7 +413,7 @@
+ __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
+diff -urN ipvsadm-1.26.vanilla/libipvs/ip_vs_nl_policy.c
+ipvsadm-1.26/libipvs/ip_vs_nl_policy.c
+--- ipvsadm-1.26.vanilla/libipvs/ip_vs_nl_policy.c 2008-09-18
+08:57:37.000000000 -0700
++++ ipvsadm-1.26/libipvs/ip_vs_nl_policy.c 2011-08-23 14:45:34.000000000 -0700
+@@ -26,6 +26,8 @@
+ [IPVS_SVC_ATTR_TIMEOUT] = { .type = NLA_U32 },
+ [IPVS_SVC_ATTR_NETMASK] = { .type = NLA_U32 },
+ [IPVS_SVC_ATTR_STATS] = { .type = NLA_NESTED },
++ [IPVS_SVC_ATTR_PE_NAME] = { .type = NLA_STRING,
++ .maxlen = IP_VS_PENAME_MAXLEN},
+ };