commit | 4cebeb8ea668675490a6d60a5726fd982dcc1a58 | [log] [tgz] |
---|---|---|
author | Ryan O'Hara <rohara@redhat.com> | Tue May 20 22:14:31 2014 -0500 |
committer | Jesper Dangaard Brouer <brouer@redhat.com> | Tue Jun 10 09:21:01 2014 +0200 |
tree | f2a87f3fe4d2ab6dfd3acf46248e3a71cd343c4d | |
parent | cd824937ad6588be2ec701ee87fba6ee2626e515 [diff] |
ipvsadm: Fix list daemon to show backup daemon The list_daemon function in ipvsadm.c will show the master daemon twice, but never the backup daemon. This patch replaces the redundant check for IP_VS_STATE_MASTER with a check for IP_VS_STATE_BACKUP, then prints the appropriate message. Signed-off-by: Ryan O'Hara <rohara@redhat.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>