]> err.no Git - linux-2.6/blobdiff - net/ipv4/netfilter/ipt_REJECT.c
[NET]: Wrap hard_header_parse
[linux-2.6] / net / ipv4 / netfilter / ipt_REJECT.c
index dd5432c3f36531706e22db44e641f0b1c69251f8..cb038c8fbc9d3dbda8b072b371d13aca88cee697 100644 (file)
@@ -31,12 +31,6 @@ MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Netfilter Core Team <coreteam@netfilter.org>");
 MODULE_DESCRIPTION("iptables REJECT target module");
 
-#if 0
-#define DEBUGP printk
-#else
-#define DEBUGP(format, args...)
-#endif
-
 /* Send RST reply */
 static void send_reset(struct sk_buff *oldskb, int hook)
 {
@@ -227,13 +221,13 @@ static bool check(const char *tablename,
        const struct ipt_entry *e = e_void;
 
        if (rejinfo->with == IPT_ICMP_ECHOREPLY) {
-               printk("REJECT: ECHOREPLY no longer supported.\n");
+               printk("ipt_REJECT: ECHOREPLY no longer supported.\n");
                return false;
        } else if (rejinfo->with == IPT_TCP_RESET) {
                /* Must specify that it's a TCP packet */
                if (e->ip.proto != IPPROTO_TCP
                    || (e->ip.invflags & XT_INV_PROTO)) {
-                       DEBUGP("REJECT: TCP_RESET invalid for non-tcp\n");
+                       printk("ipt_REJECT: TCP_RESET invalid for non-tcp\n");
                        return false;
                }
        }