From 3f9db3a80b89e370f54ee028ebba1bc4dff9323c Mon Sep 17 00:00:00 2001 From: Andrea Bondavalli Date: Thu, 30 Dec 2021 10:01:08 +0100 Subject: [PATCH] Added the SAP originating source address, in addition to the SAP identifier hash, to the browser source id --- daemon/browser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/browser.cpp b/daemon/browser.cpp index 3636678..3842704 100644 --- a/daemon/browser.cpp +++ b/daemon/browser.cpp @@ -68,7 +68,7 @@ bool Browser::worker() { if (sap_.receive(is_announce, msg_id_hash, addr, sdp)) { std::stringstream ss; - ss << "sap:" << msg_id_hash; + ss << "sap:" << addr << "-" << msg_id_hash; std::string id(ss.str()); BOOST_LOG_TRIVIAL(debug) << "browser:: received SAP message for " << id;