summaryrefslogtreecommitdiffstats
path: root/output
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2022-11-29 21:11:27 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2022-12-08 22:26:16 +0100
commit2c5230ce7f8ca921f2f1a1d57aae8376019f2a50 (patch)
treefd451e31b85e7121a3b244a1ea1b5ef0d6a18863 /output
parentbda63ec0e99aaf591470ce2d23aa794d3d6c77ed (diff)
pgsql: correct `ulog2.ip_totlen` type
The types of `ip_totlen` in the `ulog` view and the `INSERT_IP_PACKET_FULL` function are `integer`, but the column in the `ulog2` table is `smallint`. The "total length" field of an IP packet is an unsigned 16-bit integer, whereas `smallint` in PostgreSQL is a signed 16-bit integer type. Change the type of `ulog2.ip_totlen` to `integer`. Link: https://bugzilla.netfilter.org/show_bug.cgi?id=1556 Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'output')
0 files changed, 0 insertions, 0 deletions