Merge in SNORT/snort3 from ~OSHUMEIK/snort3:fix_po_po2 to master
Squashed commit of the following:
commit
14b1e9922e153058837ad4eab1d0a80bccc5dd97
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date: Tue Nov 1 11:19:27 2022 +0200
ports: enable checks in debug build only
using namespace snort;
+#ifndef NDEBUG
static void check_structures()
{
using po1 = PortObject;
}
static int _check_structures __attribute__((unused)) = (static_cast<void>(check_structures()), 0);
+#endif
#define PO_EXTRA_RULE_CNT 25