Changeset 1191:60e7b02a3ce7 in freeDiameter
- Timestamp:
- Jun 11, 2013, 10:18:52 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/debian/changelog
r1187 r1191 14 14 * Updated dbg_monitoring extension to use the new API 15 15 * New script to generate dictionary extensions from org file (see contrib/tools) 16 * New compilation option: WORKAROUND_ACCEPT_INVALID_VSAI to improve interoperability. 16 * New compilation option: WORKAROUND_ACCEPT_INVALID_VSAI to improve compatibility 17 with invalid Vendor-Specific-Application-Id AVPs received from some equipments (e.g. Cisco). 17 18 * New compilation option: DISABLE_PEER_EXPIRY for use in test environments. 18 19 * Extensions are now also searched in LD_LIBRARY_PATH. -
libfdcore/dict_base_proto.c
r928 r1191 891 891 892 892 struct local_rules_definition rules[] = 893 { { "Vendor-Id", RULE_REQUIRED, -1, 1 } 893 { 894 #ifndef WORKAROUND_ACCEPT_INVALID_VSAI 895 /* ABNF from RFC6733 */ 896 { "Vendor-Id", RULE_REQUIRED, -1, 1 } 897 #else /* WORKAROUND_ACCEPT_INVALID_VSAI */ 898 /* ABNF from RFC3588 (including erratum, because original text is nonsense) */ 899 { "Vendor-Id", RULE_REQUIRED, -1, -1} 900 #endif /* WORKAROUND_ACCEPT_INVALID_VSAI */ 894 901 ,{ "Auth-Application-Id", RULE_OPTIONAL, -1, 1 } 895 902 ,{ "Acct-Application-Id", RULE_OPTIONAL, -1, 1 } -
libfdcore/p_ce.c
r1186 r1191 470 470 switch (inhdr->avp_code) { 471 471 case AC_VENDOR_ID: /* Vendor-Id */ 472 #ifndef WORKAROUND_ACCEPT_INVALID_VSAI 472 473 if (vid != 0) 473 invalid++; /* We already had one such AVP */ 474 invalid++; /* We already had one such AVP. This is invalid according to RFC6733 but not RFC3588 (but there is an erratum) */ 475 #endif /* WORKAROUND_ACCEPT_INVALID_VSAI */ 474 476 vid = inhdr->avp_value->u32; 475 477 break;
Note: See TracChangeset
for help on using the changeset viewer.