Navigation


Changeset 892:b2e8f1a3ef76 in freeDiameter for libfdcore


Ignore:
Timestamp:
Nov 19, 2012, 4:58:40 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Allow the content of the Failed-AVP to be parseable to bufferize the message. The content is only padded currently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/messages.c

    r891 r892  
    241241               
    242242                /* Create a new AVP with a copy of the data of the invalid or missing AVP */
    243                 CHECK_FCT( fd_msg_avp_new( NULL, AVPFL_SET_BLANK_VALUE, &optavp_cpy) );
     243                optavp_cpy = optavp;
     244                CHECK_FCT( fd_msg_avp_new( NULL, AVPFL_SET_BLANK_VALUE | AVPFL_SET_RAWDATA_FROM_AVP, &optavp_cpy) );
    244245               
    245246                CHECK_FCT( fd_msg_avp_hdr(optavp, &opt_hdr) );
Note: See TracChangeset for help on using the changeset viewer.