2
0
Эх сурвалжийг харах

ims_charging: add missing change for ccr.c (related to previous commit f5e44252c39c7695cb)

(cherry picked from commit 4cb61cc35a695e2636007f6518a63ed8e508b67f)
Henning Westerholt 5 жил өмнө
parent
commit
d2377eea27

+ 5 - 1
src/modules/ims_charging/ccr.c

@@ -215,7 +215,11 @@ AAAMessage * Ro_write_CCR_avps(AAAMessage * ccr, Ro_CCR_t* x) {
     if (x->origin_realm.s && x->origin_realm.len > 0) {
         if (!cdp_avp->base.add_Origin_Realm(&(ccr->avpList), x->origin_realm, 0)) goto error;
     }
-    
+
+    if (x->destination_host.s && x->destination_host.len > 0) {
+        if (!cdp_avp->base.add_Destination_Host(&(ccr->avpList), x->destination_host, 0)) goto error;
+    }
+
     if (x->destination_realm.s && x->destination_realm.len > 0) {
         if (!ro_add_destination_realm_avp(ccr, x->destination_realm)) goto error;
     }