This commit is contained in:
Jamie Cameron
2017-12-18 23:25:18 -08:00
parent df4981e34a
commit 0bb6af725e

View File

@@ -544,7 +544,7 @@ return undef;
sub validate_iptables_config
{
my $out = &backquote_command(
"iptables-restore --test <$ipvx_save 2>&1");
"ip${ipvx}tables-restore --test <$ipvx_save 2>&1");
return undef if (!$?);
$out =~ s/Try\s.*more\s+information.*//;
return $out;