summaryrefslogtreecommitdiffstats
path: root/doc/pgsql-ulogd2-flat.sql
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2009-02-02 20:46:32 +0100
committerEric Leblond <eric@inl.fr>2009-02-08 21:08:06 +0100
commitd372b5a3bba98db6b70579751cac12dc01c23492 (patch)
tree259333749f834f8a3df20d95b6f352b1dac62338 /doc/pgsql-ulogd2-flat.sql
parent8f80ed06233bac73891f6cf9d94f1d6d95d2bd40 (diff)
pgsql: fix type of mac_protocol and oob_protocol.
The oob_protocol does not fit into a smallint (IPv6 case for example). This patch switches the length of the related field to an integer.
Diffstat (limited to 'doc/pgsql-ulogd2-flat.sql')
-rw-r--r--doc/pgsql-ulogd2-flat.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/pgsql-ulogd2-flat.sql b/doc/pgsql-ulogd2-flat.sql
index e950bbf..cf1a07f 100644
--- a/doc/pgsql-ulogd2-flat.sql
+++ b/doc/pgsql-ulogd2-flat.sql
@@ -52,7 +52,7 @@ CREATE TABLE ulog2 (
-- timestamp timestamp NOT NULL default 'now',
mac_saddr_str macaddr default NULL,
mac_daddr_str macaddr default NULL,
- oob_protocol smallint default NULL,
+ oob_protocol integer default NULL,
raw_type integer default NULL,
mac_str varchar(256) default NULL,
tcp_sport integer default NULL,