fix regression master
authorIan Kelling <iank@fsf.org>
Tue, 16 Apr 2024 05:52:26 +0000 (01:52 -0400)
committerIan Kelling <iank@fsf.org>
Tue, 16 Apr 2024 05:52:26 +0000 (01:52 -0400)
newns

diff --git a/newns b/newns
index e8c3ca79a24d4a8970d6cc49cc429f92c241183d..9a7a6ff10fff25a11056d681fb4ad70826b77b2e 100755 (executable)
--- a/newns
+++ b/newns
@@ -295,7 +295,7 @@ start() {
   ip-add ipd $network.1/24 $v0
   ipd link set $v0 up
   nat -C &>/dev/null || nat -A
-  ip-add ipnn $network.1/24 $v0
+  ip-add ipnn $network.2/24 $v1
   ipnn link set $v1 up
   cmd="ipnn route add default via $network.1"
   $cmd