Mercurial > hg > freeDiameter
changeset 281:50aaa4028967
Fix erroneous ABNF rules
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 27 Apr 2010 10:50:11 +0900 |
parents | 3019f6220122 |
children | 3db90f9ce42f |
files | extensions/dict_nasreq/dict_nasreq.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/dict_nasreq/dict_nasreq.c Tue Apr 27 10:44:43 2010 +0900 +++ b/extensions/dict_nasreq/dict_nasreq.c Tue Apr 27 10:50:11 2010 +0900 @@ -3713,14 +3713,14 @@ struct dict_object * cmd; struct local_rules_definition rules[] = { { "Origin-AAA-Protocol", RULE_OPTIONAL, -1, 1 } - ,{ "NAS-Identifier", RULE_REQUIRED, -1, 1 } - ,{ "NAS-IP-Address", RULE_REQUIRED, -1, 1 } - ,{ "NAS-IPv6-Address", RULE_REQUIRED, -1, 1 } - ,{ "NAS-Port", RULE_REQUIRED, -1, 1 } - ,{ "NAS-Port-Id", RULE_REQUIRED, -1, 1 } - ,{ "NAS-Port-Type", RULE_REQUIRED, -1, 1 } - ,{ "Service-Type", RULE_REQUIRED, -1, 1 } - ,{ "Termination-Cause", RULE_REQUIRED, -1, 1 } + ,{ "NAS-Identifier", RULE_OPTIONAL, -1, 1 } + ,{ "NAS-IP-Address", RULE_OPTIONAL, -1, 1 } + ,{ "NAS-IPv6-Address", RULE_OPTIONAL, -1, 1 } + ,{ "NAS-Port", RULE_OPTIONAL, -1, 1 } + ,{ "NAS-Port-Id", RULE_OPTIONAL, -1, 1 } + ,{ "NAS-Port-Type", RULE_OPTIONAL, -1, 1 } + ,{ "Service-Type", RULE_OPTIONAL, -1, 1 } + ,{ "Termination-Cause", RULE_OPTIONAL, -1, 1 } }; CHECK_dict_search( DICT_COMMAND, CMD_BY_NAME, "Accounting-Answer", &cmd);