.\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
.\" * THE POSSIBILITY OF SUCH DAMAGE.
.\" */
-.TH "COROSYNC-CFGTOOL" "8" "2019-02-13" "" ""
+.TH "COROSYNC-CFGTOOL" "8" "2019-07-04" "" ""
.SH "NAME"
corosync-cfgtool \- An administrative tool for corosync.
.SH "SYNOPSIS"
.TP
.B -s
Displays the status of the current links on this node for UDP/UDPU, with extended status
-for KNET. If any interfaces are faulty, 1 is returned by the binary. If all interfaces are
-active 0 is returned to the shell.
+for KNET.
After each link, the nodes on that link are displayed in order with their status,
for example there are 3 nodes with KNET transportation:
LINK ID 0:
if (show_current_iface) {
printf ("LINK ID %s\n", interface_names[i]);
printf ("\taddr\t= %s\n", cur_iface_name_space + 1);
- if((!brief) && (strcmp(interface_status[i], "OK") != 0) &&
- (!strstr(interface_status[i], "FAULTY"))) {
+ /*
+ * UDP(U) interface_status is always OK and doesn't contain
+ * detailed information (only knet does).
+ */
+ if ((!brief) && (strcmp(interface_status[i], "OK") != 0)) {
len = strlen(interface_status[i]);
printf ("\tstatus:\n");
while (s < len) {
}
} else {
printf ("\tstatus\t= %s\n", interface_status[i]);
- if (strstr(interface_status[i], "FAULTY")) {
- rc = 1;
- }
}
}
}