Only 0/0 seems to work as all networks

This commit is contained in:
Jamie Cameron
2012-11-05 16:05:29 -08:00
parent d7f24792cb
commit 50ced982df

View File

@@ -50,7 +50,7 @@ else {
$target->{'export'} = $in{'export'};
$target->{'flags'} = $in{'flags'};
if ($in{'network_def'}) {
$target->{'network'} = 'any';
$target->{'network'} = '0/0';
}
else {
&check_ipaddress($in{'network'}) ||