contrib/fwd: generic drop target belongs into the drop chain

This commit is contained in:
Jo-Philipp Wich 2009-12-17 01:35:50 +00:00
parent ba9cae9b90
commit ea9a0495b7

View file

@ -225,9 +225,9 @@ static void fwd_r_handle_drop(struct iptc_handle *h)
/* common drop rule */ /* common drop rule */
if( (r = fwd_xt_init_rule(h)) != NULL ) 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");
} }
} }