projects
/
pve-firewall.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c871d
)
improve error messages
author
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 15 May 2014 04:05:20 +0000
(06:05 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 15 May 2014 04:05:20 +0000
(06:05 +0200)
test/fwtester.pl
patch
|
blob
|
blame
|
history
diff --git
a/test/fwtester.pl
b/test/fwtester.pl
index af25014efe8f6a61e041f8f5ae3a0bf01b8a113a..36b38bc9979f48d3b3e4d323ca4a4f876d74f2ed 100755
(executable)
--- a/
test/fwtester.pl
+++ b/
test/fwtester.pl
@@
-478,7
+478,7
@@
sub simulate_firewall {
$start_state = 'fwbr-out';
$pkg->{mac_source} = $from_info->{macaddr};
} else {
- die "
implement me
";
+ die "
unable to parse \"from => '$from'\"\n
";
}
my $target;
@@
-507,7
+507,7
@@
sub simulate_firewall {
$target = extract_vm_info($vmdata, $vmid);
$target->{iface} = $target->{tapdev};
} else {
- die "
implement me
";
+ die "
unable to parse \"to => '$to'\"\n
";
}
my ($res, $ic, $rc) = route_packet($ruleset, $ipset_ruleset, $pkg,