[netfilter-cvslog] r6914 - trunk/conntrack-tools/src

pablo at netfilter.org pablo at netfilter.org
Thu Jul 19 17:13:22 CEST 2007


Author: pablo at netfilter.org
Date: 2007-07-19 17:13:22 +0200 (Thu, 19 Jul 2007)
New Revision: 6914

Modified:
   trunk/conntrack-tools/src/network.c
Log:
minor fix in the last commit: check conf->mtu instead of mtu that is < 0


Modified: trunk/conntrack-tools/src/network.c
===================================================================
--- trunk/conntrack-tools/src/network.c	2007-07-18 20:25:33 UTC (rev 6913)
+++ trunk/conntrack-tools/src/network.c	2007-07-19 15:13:22 UTC (rev 6914)
@@ -101,7 +101,7 @@
 	int mtu = conf->mtu - HEADERSIZ;
 
 	/* default to Ethernet MTU 1500 bytes */
-	if (mtu == 0)
+	if (conf->mtu == 0)
 		mtu = 1500 - HEADERSIZ;
 
 	tx_buf = malloc(mtu);




More information about the netfilter-cvslog mailing list