diff options
author | 2021-01-16 13:38:47 +0000 | |
---|---|---|
committer | 2021-01-16 13:38:47 +0000 | |
commit | 4c71f9ca5b5454914777b7558f9ab1debb6250cb (patch) | |
tree | 9f7b73079ad6af68b2af41d77960fcf4357fe86c | |
parent | aspath_neighbor() needs to return the local system AS for empty AS paths (diff) | |
download | wireguard-openbsd-4c71f9ca5b5454914777b7558f9ab1debb6250cb.tar.xz wireguard-openbsd-4c71f9ca5b5454914777b7558f9ab1debb6250cb.zip |
If ip or ip6 forwarding is not set, expect af-to failure.
-rw-r--r-- | regress/sys/net/pflog/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/sys/net/pflog/Makefile b/regress/sys/net/pflog/Makefile index a9208b6fb22..520b11be48a 100644 --- a/regress/sys/net/pflog/Makefile +++ b/regress/sys/net/pflog/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2021/01/14 21:53:42 bluhm Exp $ +# $OpenBSD: Makefile,v 1.6 2021/01/16 13:38:47 bluhm Exp $ # Copyright (c) 2021 Alexander Bluhm <bluhm@openbsd.org> # @@ -57,6 +57,13 @@ regress: @echo SKIPPED .endif +SYSCTL_FORWARDING != sysctl net.inet.ip.forwarding +SYSCTL_FORWARDING6 != sysctl net.inet6.ip6.forwarding +.if ${SYSCTL_FORWARDING:C/.*=//} != 1 || ${SYSCTL_FORWARDING6:C/.*=//} != 1 +# Do not skip, but run tests. Although they fail, their packets are logged. +REGRESS_EXPECTED_FAILURES = run-ping-14 run-ping6-14 +.endif + .endif .PHONY: busy-rdomains ifconfig unconfig pfctl |