Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 898091 Details for
Bug 1099688
ipvsadm does not show backup daemon
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix list_daemon to show backup daemon
0001-ipvsadm-Fix-list-daemon-to-show-backup-daemon.patch (text/plain), 1.09 KB, created by
Ryan O'Hara
on 2014-05-21 19:19:15 UTC
(
hide
)
Description:
Fix list_daemon to show backup daemon
Filename:
MIME Type:
Creator:
Ryan O'Hara
Created:
2014-05-21 19:19:15 UTC
Size:
1.09 KB
patch
obsolete
>From 8ca22ba019c0b4d72a54a0954fcc04848dba4579 Mon Sep 17 00:00:00 2001 >From: Ryan O'Hara <rohara@redhat.com> >Date: Tue, 20 May 2014 22:04:09 -0500 >Subject: [PATCH] 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> >--- > ipvsadm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/ipvsadm.c b/ipvsadm.c >index 4c83a8b..755827f 100644 >--- a/ipvsadm.c >+++ b/ipvsadm.c >@@ -1732,8 +1732,8 @@ static void list_daemon(void) > if (u[i].state & IP_VS_STATE_MASTER) > printf("master sync daemon (mcast=%s, syncid=%d)\n", > u[i].mcast_ifn, u[i].syncid); >- if (u[i].state & IP_VS_STATE_MASTER) >- printf("master sync daemon (mcast=%s, syncid=%d)\n", >+ if (u[i].state & IP_VS_STATE_BACKUP) >+ printf("backup sync daemon (mcast=%s, syncid=%d)\n", > u[i].mcast_ifn, u[i].syncid); > } > free(u); >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1099688
: 898091