Mercurial > hg > freeDiameter
comparison extensions/dict_dcca_3gpp/add_avps.c @ 1524:195f3fe9b4ed
Fix type of 3GPP HSS-ID (3325)
Note: 3GPP TS 29.338 table 6.3.3.1/1 row HSS-ID (3325)
incorrectly lists type as OctetString instead of UTF8String.
3GPP TS 29.338 clause 6.3.3.14 uses UTF8String.
Fix: HSS-ID (3325) type changed from OctetString to UTF8String.
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Sat, 18 Apr 2020 10:47:51 +1000 |
parents | 7f7a7cc2ce1f |
children | 3f7100848fb0 |
comparison
equal
deleted
inserted
replaced
1523:7f7a7cc2ce1f | 1524:195f3fe9b4ed |
---|---|
13291 AVP_TYPE_GROUPED /* base type of data */ | 13291 AVP_TYPE_GROUPED /* base type of data */ |
13292 }; | 13292 }; |
13293 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | 13293 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); |
13294 }; | 13294 }; |
13295 | 13295 |
13296 /* HSS-ID, OctetString, code 3325, section 6.3.3.14 */ | 13296 /* Note: 3GPP TS 29.338 table 6.3.3.1/1 row HSS-ID (3325) */ |
13297 /* incorrectly lists type as OctetString instead of UTF8String. */ | |
13298 /* 3GPP TS 29.338 clause 6.3.3.14 uses UTF8String. */ | |
13299 /* */ | |
13300 /* Fix: HSS-ID (3325) type changed from OctetString to UTF8String. */ | |
13301 /* HSS-ID, UTF8String, code 3325, section 6.3.3.14 */ | |
13297 { | 13302 { |
13298 struct dict_avp_data data = { | 13303 struct dict_avp_data data = { |
13299 3325, /* Code */ | 13304 3325, /* Code */ |
13300 10415, /* Vendor */ | 13305 10415, /* Vendor */ |
13301 "HSS-ID", /* Name */ | 13306 "HSS-ID", /* Name */ |
13302 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | 13307 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ |
13303 AVP_FLAG_VENDOR, /* Fixed flag values */ | 13308 AVP_FLAG_VENDOR, /* Fixed flag values */ |
13304 AVP_TYPE_OCTETSTRING /* base type of data */ | 13309 AVP_TYPE_OCTETSTRING /* base type of data */ |
13305 }; | 13310 }; |
13306 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | 13311 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); |
13307 }; | 13312 }; |
13308 | 13313 |
13309 /* Originating-SIP-URI, UTF8String, code 3326, section 6.3.3.15 */ | 13314 /* Originating-SIP-URI, UTF8String, code 3326, section 6.3.3.15 */ |
13310 { | 13315 { |
13311 struct dict_avp_data data = { | 13316 struct dict_avp_data data = { |