Module: kamailio
Branch: master
Commit: 3ed56db363ace8162abdfda6e5bc0cbd51a73c70
URL:
https://github.com/kamailio/kamailio/commit/3ed56db363ace8162abdfda6e5bc0cb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-07T07:39:38+02:00
pv: proper name id for oc field of via variables
---
Modified: src/modules/pv/pv_core.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3ed56db363ace8162abdfda6e5bc0cb…
Patch:
https://github.com/kamailio/kamailio/commit/3ed56db363ace8162abdfda6e5bc0cb…
---
diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c
index a491d10d643..dc611de7f1a 100644
--- a/src/modules/pv/pv_core.c
+++ b/src/modules/pv/pv_core.c
@@ -4490,7 +4490,7 @@ int pv_parse_via_name(pv_spec_p sp, str *in)
break;
case 2:
if(strncmp(in->s, "oc", 2) == 0)
- sp->pvp.pvn.u.isname.name.n = 0;
+ sp->pvp.pvn.u.isname.name.n = 9;
else
goto error;
break;