Skip to contentSkip to conversation

patch for ulogd pgsql output plugin

PATCH Andrew Kozachenko 2 participants 2 messages Apr 8, 2005 – Apr 10, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Bug in pgsql/ulogd_PGSQL.c causes ifinite loop on ulogd-1.21 startup. Here is the fix.

ulogd_PGSQL.c (working copy) renamed from ulogd_PGSQL.c (revision 56) +0 -0
Index: pgsql/ulogd_PGSQL.c
===================================================================
@@ -81,7 +81,7 @@

};

static config_entry_t port_ce = {
- .next = &port_ce,
+ .next = &table_ce,
.key = "port",
.type = CONFIG_TYPE_INT,
.options = CONFIG_OPT_NONE,

Signature · 6 lines
Regards,
Andrew Kozachenko
Entri ltd.

   
Look at the source, Luke.
#1 lore raw
Quoted 2 lines · Andrew Kozachenko

Bug in pgsql/ulogd_PGSQL.c causes ifinite loop on ulogd-1.21 startup. Here is the fix.

thanks, already fixed in subversion some time ago. ulogd-1.22 (March 7) also contains the fix.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie