Module: kamailio
Branch: master
Commit: 7f8df73a1723ce30911b00e09c7506cab1e41ad7
URL:
https://github.com/kamailio/kamailio/commit/7f8df73a1723ce30911b00e09c7506c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-17T17:56:20+01:00
dmq: check proto in cmp_dmq_node()
---
Modified: src/modules/dmq/dmqnode.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7f8df73a1723ce30911b00e09c7506c…
Patch:
https://github.com/kamailio/kamailio/commit/7f8df73a1723ce30911b00e09c7506c…
---
diff --git a/src/modules/dmq/dmqnode.c b/src/modules/dmq/dmqnode.c
index edc42e1f27..fe23890742 100644
--- a/src/modules/dmq/dmqnode.c
+++ b/src/modules/dmq/dmqnode.c
@@ -87,7 +87,8 @@ int cmp_dmq_node(dmq_node_t *node, dmq_node_t *cmpnode)
return -1;
}
return STR_EQ(node->uri.host, cmpnode->uri.host)
- && STR_EQ(node->uri.port, cmpnode->uri.port);
+ && STR_EQ(node->uri.port, cmpnode->uri.port)
+ && (node->uri.proto, cmpnode->uri.proto);
}
/**