Navigation


Changeset 1301:50fb308e84f7 in freeDiameter for libfdcore/routing_dispatch.c


Ignore:
Timestamp:
Aug 30, 2015, 2:58:21 AM (9 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Added a new hook to allow extensions act on the error messages being returned in case of parsing error (e.g. if some mandatory AVP are expected in error messages)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/routing_dispatch.c

    r1283 r1301  
    454454                        } else {
    455455                                if (!msgptr) {
     456                                        fd_hook_call(HOOK_MESSAGE_PARSING_ERROR2, error, NULL, NULL, fd_msg_pmdl_get(error));
    456457                                        /* error now contains the answer message to send back */
    457458                                        CHECK_FCT( fd_fifo_post(fd_g_outgoing, &error) );
Note: See TracChangeset for help on using the changeset viewer.