Re: [PATCH] snmp: fix a function name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
nice work. ACK.

Patch commited.

Thanks,
  Honza

Kazunori INOUE napsal(a):
Hi All,

This fixes the bug to which snmp trap of rrp_faulty_event is not sent.

----
diff --git a/tools/corosync-notifyd.c b/tools/corosync-notifyd.c
index 07f1445..bad5c5a 100644
--- a/tools/corosync-notifyd.c
+++ b/tools/corosync-notifyd.c
@@ -956,7 +956,7 @@ _cs_rrp_faulty_event(uint32_t iface_no, const char *state)
  	_cs_local_node_info_get(&nodename,&nodeid);

  	for (i = 0; i<  num_notifiers; i++) {
-		if (notifiers[i].application_connection_fn) {
+		if (notifiers[i].rrp_faulty_fn) {
  			notifiers[i].rrp_faulty_fn(nodename, nodeid, iface_no, state);
  		}
  	}
----
Best regards,
Kazunori INOUE
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux