![]() |
lvs-devel
|
| To: | Simon Horman <horms@xxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] ipvsadm: Fix wrong format of --pe option in FMT_RULE listing |
| Cc: | lvs-devel@xxxxxxxxxxxxxxx |
| From: | Julian Anastasov <ja@xxxxxx> |
| Date: | Thu, 22 Aug 2013 09:45:51 +0300 |
'ipvsadm -S' listed the persistence engine option in wrong format
(' pe ...' instead of ' --pe ...') preventing any service with
PE from restoring using 'ipvsadm -R'.
Signed-off-by: Julian Anastasov <ja@xxxxxx>
---
ipvsadm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ipvsadm.c b/ipvsadm.c
index 0197515..58f8241 100644
--- a/ipvsadm.c
+++ b/ipvsadm.c
@@ -1485,7 +1485,7 @@ print_service_entry(ipvs_service_entry_t *se, unsigned
int format)
}
}
if (se->pe_name[0])
- printf(" pe %s", se->pe_name);
+ printf(" --pe %s", se->pe_name);
if (se->flags & IP_VS_SVC_F_ONEPACKET)
printf(" -o");
} else if (format & FMT_STATS) {
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: ipvsadm: One-packet scheduling with UDP service is unstable, Julian Anastasov |
|---|---|
| Next by Date: | Re: [PATCH] ipvsadm: Fix wrong format of --pe option in FMT_RULE listing, Simon Horman |
| Previous by Thread: | ipvsadm: One-packet scheduling with UDP service is unstable, Drunkard Zhang |
| Next by Thread: | Re: [PATCH] ipvsadm: Fix wrong format of --pe option in FMT_RULE listing, Simon Horman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |