From dd51eaf8b31b935f85732ac2ba73adb9978a70af Mon Sep 17 00:00:00 2001 From: joe Date: Sat, 2 Jun 2018 22:04:42 -0400 Subject: Fix vnet test script to use only wlan0. --- vnet/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnet/build.sh b/vnet/build.sh index e6b73420..19d65406 100755 --- a/vnet/build.sh +++ b/vnet/build.sh @@ -72,7 +72,7 @@ buildtaps() { buildtaps -num=$(ip addr | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p') +num=$(ip addr show wlan0 | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p') ip addr add 80.$num.99.99 dev ep0 ip addr add 81.$num.99.99 dev ep1 -- cgit v1.2.3