Skip to contentSkip to conversation

libipt_ecn.c fix

PATCH New Jaroslaw J. Pyszny 1 participant 1 message Nov 6, 2002 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libipt_ecn.c fix

Hi,

IPTables (userspace) 1.2.7a (CVS)
I think `print_dscp(.....)' is not needed in libipt_ecn.c

Best regards,
Jarek

Signature · 4 lines
8   \\|||//           Jaroslaw J. Pyszny         \\|||//
b    (o|o)       "Vitae,non scholae,discimus"     (o|o)
i   --\_/--        [email protected]     --\_/-- 
t =-> Masz 8-bit. komputer i chcesz się go pozbyć daj znać. <-=
extensions/libipt_ecn.c +0 -9
diff -urN userspace/extensions/libipt_ecn.c userspace.new/extensions/libipt_ecn.c
@@ -100,15 +100,6 @@
 		           "ECN match: some option required");
 }
 
-static void
-print_dscp(u_int8_t dscp, int invert, int numeric)
-{
-	if (invert)
-		fputc('!', stdout);
-
- 	printf("0x%02x ", dscp);
-}
-
 /* Prints out the matchinfo. */
 static void
 print(const struct ipt_ip *ip,