Browse Source

modules/ims_qos: switch flow descriptors. point of reference from NW persepcitve and not UE

Jason Penton 11 years ago
parent
commit
450f78a13a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      modules/ims_qos/rx_avp.c

+ 4 - 4
modules/ims_qos/rx_avp.c

@@ -573,8 +573,8 @@ AAA_AVP *rx_create_media_subcomponent_avp(int number, char* proto,
     /*IMS Flow descriptions*/
     /*first flow is the receive flow*/
     flowdata_buf.len = snprintf(flowdata_buf.s, len, permit_out_with_ports, proto_int,
-            ipB->len, ipB->s, intportB,
-            ipA->len, ipA->s, intportA);
+            ipA->len, ipA->s, intportA,
+            ipB->len, ipB->s, intportB);
 
     flowdata_buf.len = strlen(flowdata_buf.s);
     flow_description1 = cdpb.AAACreateAVP(AVP_IMS_Flow_Description,
@@ -598,8 +598,8 @@ AAA_AVP *rx_create_media_subcomponent_avp(int number, char* proto,
         }
 
     flowdata_buf.len = snprintf(flowdata_buf.s, len2, permit_in_with_ports, proto_int,
-            ipA->len, ipA->s, intportA,
-            ipB->len, ipB->s, intportB);
+            ipB->len, ipB->s, intportB,
+            ipA->len, ipA->s, intportA);
 
     flowdata_buf.len = strlen(flowdata_buf.s);
     flow_description2 = cdpb.AAACreateAVP(AVP_IMS_Flow_Description,