summaryrefslogtreecommitdiffstats
path: root/doc/pgsql-ulogd2.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.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.sql')
-rw-r--r--doc/pgsql-ulogd2.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/pgsql-ulogd2.sql b/doc/pgsql-ulogd2.sql
index da66c85..8f47bf9 100644
--- a/doc/pgsql-ulogd2.sql
+++ b/doc/pgsql-ulogd2.sql
@@ -75,7 +75,7 @@ CREATE TABLE mac (
_mac_id bigint PRIMARY KEY UNIQUE NOT NULL DEFAULT nextval('mac__id_seq'),
mac_saddr macaddr NOT NULL,
mac_daddr macaddr default NULL,
- mac_protocol smallint default NULL
+ mac_protocol integer default NULL
) WITH (OIDS=FALSE);
CREATE INDEX mac_saddr ON mac(mac_saddr);