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 300939d7f3315c43477f82ad677377a6d42ac976..6708e55cb6574007b5edbd7bd91961cf2ea4a580 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 )
        {
-               /* -j DROP; -A handle_reject */
+               /* -j DROP; -A handle_drop */
                fwd_xt_get_target(r, "DROP");
-               fwd_xt_append_rule(r, "handle_reject");
+               fwd_xt_append_rule(r, "handle_drop");
        }
 }