Module: kamailio Branch: master Commit: 9dade2fc97144dc41935def9be47c597bc10ac1d URL: https://github.com/kamailio/kamailio/commit/9dade2fc97144dc41935def9be47c597bc10ac1d
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-01-07T15:57:22+01:00 core: msg parser - field for via-body flags --- Modified: src/core/parser/msg_parser.h --- Diff: https://github.com/kamailio/kamailio/commit/9dade2fc97144dc41935def9be47c597bc10ac1d.diff Patch: https://github.com/kamailio/kamailio/commit/9dade2fc97144dc41935def9be47c597bc10ac1d.patch --- diff --git a/src/core/parser/msg_parser.h b/src/core/parser/msg_parser.h index d7342de56ce..1dcb0db9f8a 100644 --- a/src/core/parser/msg_parser.h +++ b/src/core/parser/msg_parser.h @@ -199,8 +199,8 @@ typedef enum request_method (((m)->dst_uri.s && (m)->dst_uri.len) \ ? (&(m)->dst_uri) \ : (((m)->new_uri.s && (m)->new_uri.len) \ - ? (&(m)->new_uri) \ - : (&(m)->first_line.u.request.uri))) + ? (&(m)->new_uri) \ + : (&(m)->first_line.u.request.uri))) /*! \brief @@ -220,9 +220,9 @@ typedef enum request_method * - 5061 for _proto == TLS or WSS * - 5060 for the other _proto */ -#define GET_SIP_PORT(_port, _proto) \ - ((_port == 0) ? ( \ - (_proto == PROTO_TLS || _proto == PROTO_WSS) ? 5061 : 5060) \ +#define GET_SIP_PORT(_port, _proto) \ + ((_port == 0) ? ((_proto == PROTO_TLS || _proto == PROTO_WSS) ? 5061 \ + : 5060) \ : _port) enum _uri_type @@ -436,6 +436,7 @@ typedef struct sip_msg msg_flags_t msg_flags; /*!< internal flags used by core */ flag_t flags; /*!< config flags */ flag_t xflags[KSR_XFLAGS_SIZE]; /*!< config extended flags */ + flag_t vbflags; /*!< config via-body flags */ str set_global_address; str set_global_port; struct socket_info *force_send_socket; /*!< force sending on this socket */ _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
