Changeset 712:886e935f7513 in freeDiameter for libfdcore/routing_dispatch.c
- Timestamp:
- Feb 15, 2011, 10:51:31 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/routing_dispatch.c
r706 r712 679 679 /* test for decorated NAI (RFC5729 section 4.4) */ 680 680 /* Handle the decorated NAI */ 681 CHECK_FCT_DO( process_decorated_NAI(&is_nai, un_val, dr_val), 682 { 683 /* If the process failed, we assume it is because of the AVP format */ 684 CHECK_FCT( return_error( pmsg, "DIAMETER_INVALID_AVP_VALUE", "Failed to process decorated NAI", un) ); 685 return 0; 686 } ); 681 if (un_val) { 682 CHECK_FCT_DO( process_decorated_NAI(&is_nai, un_val, dr_val), 683 { 684 /* If the process failed, we assume it is because of the AVP format */ 685 CHECK_FCT( return_error( pmsg, "DIAMETER_INVALID_AVP_VALUE", "Failed to process decorated NAI", un) ); 686 return 0; 687 } ); 688 } 687 689 688 690 if (is_nai) {
Note: See TracChangeset
for help on using the changeset viewer.