]> git.proxmox.com Git - pve-firewall.git/blobdiff - test/fwtester.pl
improve rule verification
[pve-firewall.git] / test / fwtester.pl
index 82a5f56aaf6963db93239f063aa6dfa5d6582dba..88cb4bc66e9afdd2e42afc5a53fc983eaa7cc327 100755 (executable)
@@ -34,10 +34,10 @@ sub run_tests {
 
     my $host_ip = '172.16.1.2';
 
-    PVE::Firewall::cluster_network('172.16.1.0/24');
+    PVE::Firewall::local_network('172.16.1.0/24');
 
     my ($ruleset, $ipset_ruleset) = 
-       PVE::Firewall::compile(undef, undef, $vmdata);
+       PVE::Firewall::compile(undef, undef, $vmdata, 1);
 
     my $filename = "$testdir/$testfile";
     my $fh = IO::File->new($filename) ||