Author: kp Date: Mon Oct 22 23:33:48 2018 New Revision: 339627 URL: https://svnweb.freebsd.org/changeset/base/339627
Log: pf tests: Fix incorrect test for PR 231323 Fix r339466. The test result file did not list the rdr rule. Additionally, the route-to rule needs a redirection address. X-MFC-with: 339466 Modified: head/sbin/pfctl/tests/files/pf1005.in head/sbin/pfctl/tests/files/pf1005.ok Modified: head/sbin/pfctl/tests/files/pf1005.in ============================================================================== --- head/sbin/pfctl/tests/files/pf1005.in Mon Oct 22 23:06:23 2018 (r339626) +++ head/sbin/pfctl/tests/files/pf1005.in Mon Oct 22 23:33:48 2018 (r339627) @@ -1,3 +1,3 @@ rdr on em0 proto tcp from any to any -> 1.1.1.1 port 2121 -pass out log quick on lo0 route-to lo0 from any to any -pass in log quick on lo0 route-to (lo0 localhost) from any to any +pass out log quick on lo0 route-to (lo0 localhost) inet from any to any +pass in log quick on lo0 route-to (lo0 localhost) inet6 from any to any Modified: head/sbin/pfctl/tests/files/pf1005.ok ============================================================================== --- head/sbin/pfctl/tests/files/pf1005.ok Mon Oct 22 23:06:23 2018 (r339626) +++ head/sbin/pfctl/tests/files/pf1005.ok Mon Oct 22 23:33:48 2018 (r339627) @@ -1,2 +1,3 @@ -pass out log quick on lo0 route-to (lo0 ?) all flags S/SA keep state +rdr on em0 inet proto tcp all -> 1.1.1.1 port 2121 +pass out log quick on lo0 route-to (lo0 127.0.0.1) inet all flags S/SA keep state pass in log quick on lo0 route-to (lo0 ::1) inet6 all flags S/SA keep state _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"