mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Create new rules in the correct table https://sourceforge.net/p/webadmin/bugs/5614/
This commit is contained in:
@ -79,7 +79,7 @@ if ($in{'auto'}) {
|
||||
$in{'iface'.$in{'auto'}};
|
||||
$iface || &error($text{'setup_eiface'});
|
||||
($table) = grep { $_->{'name'} eq 'filter' } @tables;
|
||||
$table ||= { 'name' => 'nat',
|
||||
$table ||= { 'name' => 'filter',
|
||||
'rules' => [ ],
|
||||
'defaults' => { } };
|
||||
$table->{'defaults'}->{'INPUT'} = 'DROP';
|
||||
|
Reference in New Issue
Block a user