Skip to content

Commit 85a805a

Browse files
tests: debug PortForward natreflection test
1 parent aeed77c commit 85a805a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Tests/APIModelsPortForwardTestCase.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class APIModelsPortForwardTestCase extends TestCase {
9797
$rules_debug = file_get_contents('/tmp/rules.debug');
9898
$purenat_rule = "rdr on {$this->env['PFREST_LAN_IF']} inet proto tcp from any to 127.3.2.1 port 8443 -> 127.1.2.3";
9999
$purenat_rule_ovpn = "rdr on { {$this->env['PFREST_LAN_IF']} openvpn } inet proto tcp from any to 127.3.2.1 port 8443 -> 127.1.2.3";
100+
var_dump($rules_debug);
100101
$this->assert_is_true(
101102
str_contains($rules_debug, $purenat_rule) or str_contains($rules_debug, $purenat_rule_ovpn),
102103
);

0 commit comments

Comments
 (0)