Explorar o código

dmq: Broadcast nodelists to all hosts

Update all hosts with updated state on shutdown.
Alex Hermann %!s(int64=11) %!d(string=hai) anos
pai
achega
78a87972b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);