[PATCH] Kill 480 kB redundant data in conntrack application
Marcus Sundberg
marcus at ingate.com
Tue Nov 22 16:59:18 CET 2005
Hi,
the NUMBER_OF_OPT #define in the conntrack application is "a bit"
oversized. :-)
Fix bogus NUMBER_OF_OPT definition.
Index: conntrack/include/conntrack.h
===================================================================
--- conntrack/include/conntrack.h (revision 4547)
+++ conntrack/include/conntrack.h (working copy)
@@ -115,9 +115,9 @@
CT_OPT_ID_BIT = 15,
CT_OPT_ID = (1 << CT_OPT_ID_BIT),
- CT_OPT_MAX = CT_OPT_ID
+ CT_OPT_MAX_BIT = CT_OPT_ID_BIT
};
-#define NUMBER_OF_OPT CT_OPT_MAX
+#define NUMBER_OF_OPT (CT_OPT_MAX_BIT+1)
struct ctproto_handler {
struct list_head head;
Signed-off-by: Marcus Sundberg <marcus at ingate.com>
--
---------------------------------------+--------------------------
Marcus Sundberg <marcus at ingate.com> | Firewalls with SIP & NAT
Software Developer, Ingate Systems AB | http://www.ingate.com/
More information about the netfilter-devel
mailing list