Loading ttcn/LibDiameter_Templates.ttcn +4 −4 Original line number Diff line number Diff line Loading @@ -344,8 +344,8 @@ module LibDiameter_Templates { return v_sum } function f_getByteAlignedLength(AVP_Length p_length) return AVP_Length { return p_length + ((4-p_length mod 4) mod 4); function f_getByteAlignedLength(template AVP_Length p_length) return AVP_Length { return (valueof(p_length) + ((4-valueof(p_length) mod 4) mod 4)); } function f_lengthVid(template AVP_Vendor_ID p_avpVid) return AVP_Length { Loading Loading @@ -791,7 +791,7 @@ module LibDiameter_Templates { header := m_diameterHeaderReq_dummy(CER_E, c_applIdCommonMsg), origin_Host := m_originHost_dummy, origin_Realm := m_originRealm_dummy, host_IP_Address := {m_hostIPAddress(c_address)}, host_IP_Address := {m_hostIPAddress(c_address)}, // Address:{'0001'O, {ipv4 := {127, 0, 0,1}}})}, vendor_Id := m_vendorId_dummy, product_Name := m_productName_dummy, origin_State_Id := omit, Loading Loading @@ -1542,7 +1542,7 @@ module LibDiameter_Templates { result_Code := m_resultCode_dummy, origin_Host := m_originHost_dummy, origin_Realm := m_originRealm_dummy, host_IP_Address := {m_hostIPAddress(c_address)}, host_IP_Address := {m_hostIPAddress(c_address)}, // Address:{'0001'O, {ipv4 := {127, 0, 0,1}}})}, vendor_Id := m_vendorId_dummy, product_Name := m_productName_dummy, origin_State_Id := omit, Loading Loading
ttcn/LibDiameter_Templates.ttcn +4 −4 Original line number Diff line number Diff line Loading @@ -344,8 +344,8 @@ module LibDiameter_Templates { return v_sum } function f_getByteAlignedLength(AVP_Length p_length) return AVP_Length { return p_length + ((4-p_length mod 4) mod 4); function f_getByteAlignedLength(template AVP_Length p_length) return AVP_Length { return (valueof(p_length) + ((4-valueof(p_length) mod 4) mod 4)); } function f_lengthVid(template AVP_Vendor_ID p_avpVid) return AVP_Length { Loading Loading @@ -791,7 +791,7 @@ module LibDiameter_Templates { header := m_diameterHeaderReq_dummy(CER_E, c_applIdCommonMsg), origin_Host := m_originHost_dummy, origin_Realm := m_originRealm_dummy, host_IP_Address := {m_hostIPAddress(c_address)}, host_IP_Address := {m_hostIPAddress(c_address)}, // Address:{'0001'O, {ipv4 := {127, 0, 0,1}}})}, vendor_Id := m_vendorId_dummy, product_Name := m_productName_dummy, origin_State_Id := omit, Loading Loading @@ -1542,7 +1542,7 @@ module LibDiameter_Templates { result_Code := m_resultCode_dummy, origin_Host := m_originHost_dummy, origin_Realm := m_originRealm_dummy, host_IP_Address := {m_hostIPAddress(c_address)}, host_IP_Address := {m_hostIPAddress(c_address)}, // Address:{'0001'O, {ipv4 := {127, 0, 0,1}}})}, vendor_Id := m_vendorId_dummy, product_Name := m_productName_dummy, origin_State_Id := omit, Loading