git: c90f8cb899a7 - main - pfctl tests: fix Ethernet output expectations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Apr 2022 08:26:18 UTC
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=c90f8cb899a70419721f5d0005a359af45515791 commit c90f8cb899a70419721f5d0005a359af45515791 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2022-04-21 08:24:44 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2022-04-21 08:26:00 +0000 pfctl tests: fix Ethernet output expectations Since a16732d670 we always print the l3 src/destination for Ethernet rules. Update the tests to account for this. Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/tests/files/pf1007.ok | 2 +- sbin/pfctl/tests/files/pf1008.ok | 2 +- sbin/pfctl/tests/files/pf1009.ok | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/pfctl/tests/files/pf1007.ok b/sbin/pfctl/tests/files/pf1007.ok index e08b38d7241a..742b5308ec90 100644 --- a/sbin/pfctl/tests/files/pf1007.ok +++ b/sbin/pfctl/tests/files/pf1007.ok @@ -1 +1 @@ -ether block out on igb0 to ! 00:01:02:03:04:05 +ether block out on igb0 to ! 00:01:02:03:04:05 l3 all diff --git a/sbin/pfctl/tests/files/pf1008.ok b/sbin/pfctl/tests/files/pf1008.ok index a9bd472a5070..646ef77c78dd 100644 --- a/sbin/pfctl/tests/files/pf1008.ok +++ b/sbin/pfctl/tests/files/pf1008.ok @@ -1 +1 @@ -ether block out on igb0 to 00:01:02:03:04:05/24 +ether block out on igb0 to 00:01:02:03:04:05/24 l3 all diff --git a/sbin/pfctl/tests/files/pf1009.ok b/sbin/pfctl/tests/files/pf1009.ok index 833c9099837c..3023f1337dd3 100644 --- a/sbin/pfctl/tests/files/pf1009.ok +++ b/sbin/pfctl/tests/files/pf1009.ok @@ -1 +1 @@ -ether block out on igb0 to 00:01:02:03:04:05&ff:ff:ff:00:00:ff +ether block out on igb0 to 00:01:02:03:04:05&ff:ff:ff:00:00:ff l3 all