contrib/fwd: generic drop target belongs into the drop chain
This commit is contained in:
parent
ba9cae9b90
commit
ea9a0495b7
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue