The Child AVPs of Terminal-Information is Optional

(#297)
This commit is contained in:
Sukchan Lee 2019-10-29 15:36:38 +09:00
parent dcef973a09
commit 04f5c31287
1 changed files with 3 additions and 3 deletions

View File

@ -116,9 +116,9 @@ int dict_s6a_init(char * conffile)
struct dict_object * avp;
struct local_rules_definition rules[] =
{
{ { .avp_vendor = 10415, .avp_name = "IMEI" }, RULE_REQUIRED, -1, 1 },
{ { .avp_vendor = 10415, .avp_name = "3GPP2-MEID" }, RULE_REQUIRED, -1, 1 },
{ { .avp_vendor = 10415, .avp_name = "Software-Version" }, RULE_REQUIRED, -1, 1 },
{ { .avp_vendor = 10415, .avp_name = "IMEI" }, RULE_OPTIONAL, -1, 1 },
{ { .avp_vendor = 10415, .avp_name = "3GPP2-MEID" }, RULE_OPTIONAL, -1, 1 },
{ { .avp_vendor = 10415, .avp_name = "Software-Version" }, RULE_OPTIONAL, -1, 1 },
};
CHECK_dict_search(DICT_AVP, AVP_BY_NAME_ALL_VENDORS, "Terminal-Information", &avp);