Răsfoiți Sursa

dmq: Broadcast nodelists to all hosts

Update all hosts with updated state on shutdown.
Alex Hermann 11 ani în urmă
părinte
comite
78a87972b8
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      modules/dmq/notification_peer.c

+ 1 - 1
modules/dmq/notification_peer.c

@@ -276,7 +276,7 @@ int request_nodelist(dmq_node_t* node, int forward)
 		LM_ERR("no notification body\n");
 		return -1;
 	}
-	ret = dmq_send_message(dmq_notification_peer, body, node,
+	ret = bcast_dmq_message(dmq_notification_peer, body, NULL,
 			&notification_callback, forward, &notification_content_type);
 	pkg_free(body->s);
 	pkg_free(body);