Module: sip-router
Branch: kamailio_3.0
Commit: 337b0e067dbec8965b176a469bcb2104f2bd870c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=337b0e0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Nov 6 13:35:20 2009 +0100
pv: return transport parameter value for $rP
- reported by Alex Hermann,
SF.net tracker #2892560
---
modules_k/pv/pv_core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/pv/pv_core.c b/modules_k/pv/pv_core.c
index 16c1f70..f52905a 100644
--- a/modules_k/pv/pv_core.c
+++ b/modules_k/pv/pv_core.c
@@ -205,7 +205,7 @@ int pv_get_xuri_attr(struct sip_msg *msg, struct sip_uri *parsed_uri,
} else if(param->pvn.u.isname.name.n==4) /* protocol */ {
if(parsed_uri->transport_val.s==NULL)
return pv_get_udp(msg, param, res);
- return pv_get_strintval(msg, param, res, &parsed_uri->transport,
+ return pv_get_strintval(msg, param, res, &parsed_uri->transport_val,
(int)parsed_uri->proto);
}
LM_ERR("unknown specifier\n");