]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
Store MAC in SQL databases only once
authorPierre Chifflier <chifflier@inl.fr>
Thu, 12 Jun 2008 09:45:28 +0000 (11:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 12 Jun 2008 09:45:28 +0000 (11:45 +0200)
commit189fda46127361883ba81e1296e2b49a812e9bc6
tree6d73aecd5b75430081ccd2845b3e8852189e36bf
parent14d01ad2ec4bd1ceae13fc3789922fdc059d2b30
Store MAC in SQL databases only once

This patch modifies the SQL schema for MySQL and PostgreSQL to store
the mac address only once (instead of duplicating the mac address for
each packet). This is done by using a shared reference to the entry
containing the tuple (mac_address,mac_protocol).

Signed-off-by: Pierre Chifflier <chifflier@inl.fr>
doc/mysql-ulogd2.sql
doc/pgsql-ulogd2.sql