git: 5b2bc9cf1cab - stable/15 - tests/if_wg: Let wg_vnet_parent_routing run in a VNET jail

Mark Johnston <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a67ae25.384dd.784277ec__37669.5242057153$1785179731$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=5b2bc9cf1cab8861956606f02e0fc854c54c0921

commit 5b2bc9cf1cab8861956606f02e0fc854c54c0921
Author:     Mark Johnston <[email protected]>
AuthorDate: 2026-07-03 19:31:15 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2026-07-27 17:34:30 +0000

    tests/if_wg: Let wg_vnet_parent_routing run in a VNET jail
    
    MFC after:      1 week
    
    (cherry picked from commit 0dbd497fff17416728c9c98f27a0612c89c7143c)
---
 tests/sys/net/if_wg.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/net/if_wg.sh b/tests/sys/net/if_wg.sh
index 1f51d86c8efa..72fe25bf3dec 100644
--- a/tests/sys/net/if_wg.sh
+++ b/tests/sys/net/if_wg.sh
@@ -374,6 +374,8 @@ wg_vnet_parent_routing_body()
 	wg1=$(ifconfig wg create)
 	wg2=$(ifconfig wg create)
 
+	atf_check ifconfig lo0 inet 127.0.0.1/8
+
 	vnet_mkjail wgtest1 ${wg1}
 	vnet_mkjail wgtest2 ${wg2}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.