contrib/fwd: generic drop target belongs into the drop chain
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 17 Dec 2009 01:35:50 +0000 (01:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 17 Dec 2009 01:35:50 +0000 (01:35 +0000)
contrib/fwd/src/fwd_rules.c

index 300939d..6708e55 100644 (file)
@@ -225,9 +225,9 @@ static void fwd_r_handle_drop(struct iptc_handle *h)
        /* common drop rule */
        if( (r = fwd_xt_init_rule(h)) != NULL )
        {
        /* common drop rule */
        if( (r = fwd_xt_init_rule(h)) != NULL )
        {
-               /* -j DROP; -A handle_reject */
+               /* -j DROP; -A handle_drop */
                fwd_xt_get_target(r, "DROP");
                fwd_xt_get_target(r, "DROP");
-               fwd_xt_append_rule(r, "handle_reject");
+               fwd_xt_append_rule(r, "handle_drop");
        }
 }
 
        }
 }