diff --git a/src/stream-tcp-private.h b/src/stream-tcp-private.h index d39bb91a88d..2da93f6ce96 100644 --- a/src/stream-tcp-private.h +++ b/src/stream-tcp-private.h @@ -288,8 +288,8 @@ typedef struct TcpSession_ { int8_t data_first_seen_dir; /** track all the tcp flags we've seen */ uint8_t tcp_packet_flags; - uint16_t urg_offset_ts; /**< SEQ offset from accepted OOB urg bytes */ - uint16_t urg_offset_tc; /**< SEQ offset from accepted OOB urg bytes */ + uint16_t urg_offset_ts; /**< SEQ offset from accepted OOB urg bytes */ + uint16_t urg_offset_tc; /**< SEQ offset from accepted OOB urg bytes */ /* coccinelle: TcpSession:flags:STREAMTCP_FLAG */ uint32_t flags; uint32_t reassembly_depth; /**< reassembly depth for the stream */ diff --git a/src/stream-tcp.c b/src/stream-tcp.c index 6aff1537c15..46b379f7de1 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -376,7 +376,6 @@ static const char *UrgentPolicyToString(enum TcpStreamUrgentHandling pol) return NULL; } - /** \brief To initialize the stream global configuration data * * \param quiet It tells the mode of operation, if it is true nothing will @@ -543,7 +542,8 @@ void StreamTcpInitConfig(bool quiet) stream_config.urgent_policy = TCP_STREAM_URGENT_DEFAULT; } if (!quiet) { - SCLogConfig("stream.reassembly.urgent.policy\": %s", UrgentPolicyToString(stream_config.urgent_policy)); + SCLogConfig("stream.reassembly.urgent.policy\": %s", + UrgentPolicyToString(stream_config.urgent_policy)); } if (stream_config.urgent_policy == TCP_STREAM_URGENT_OOB) { const char *temp_urgoobpol = NULL; @@ -556,13 +556,15 @@ void StreamTcpInitConfig(bool quiet) } else if (strcmp(temp_urgoobpol, "gap") == 0) { stream_config.urgent_oob_limit_policy = TCP_STREAM_URGENT_GAP; } else { - FatalError("stream.reassembly.urgent.oob-limit-policy: invalid value '%s'", temp_urgoobpol); + FatalError("stream.reassembly.urgent.oob-limit-policy: invalid value '%s'", + temp_urgoobpol); } } else { stream_config.urgent_oob_limit_policy = TCP_STREAM_URGENT_DEFAULT; } if (!quiet) { - SCLogConfig("stream.reassembly.urgent.oob-limit-policy\": %s", UrgentPolicyToString(stream_config.urgent_oob_limit_policy)); + SCLogConfig("stream.reassembly.urgent.oob-limit-policy\": %s", + UrgentPolicyToString(stream_config.urgent_oob_limit_policy)); } }