git: 0dbd497fff17 - main - tests/if_wg: Let wg_vnet_parent_routing run in a VNET jail

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Fri, 03 Jul 2026 19:34:32 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=0dbd497fff17416728c9c98f27a0612c89c7143c

commit 0dbd497fff17416728c9c98f27a0612c89c7143c
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-07-03 19:31:15 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-03 19:31:15 +0000

    tests/if_wg: Let wg_vnet_parent_routing run in a VNET jail
    
    MFC after:      1 week
---
 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 c7b7e1663a2e..7d6d28675855 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}