@herlesupreeth commented on this pull request.


In src/modules/cdp/routing.c:

>  	int app_id = 0, vendor_id = 0;
 
+	// 1. Destination-Host routing to adjacent peer
+	avp = AAAFindMatchingAVP(m, 0, AVP_Destination_Host, 0, AAA_FORWARD_SEARCH);
+	if(avp)
+		destination_host = avp->data;
+
+	if(destination_host.len) {

cant we remove this check here as its already done in get_peer_by_fqdn ??


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3914/review/2176473764@github.com>