summaryrefslogtreecommitdiff
path: root/vnet
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2018-06-02 22:04:42 -0400
committerjoe <joe@jerkface.net>2018-06-02 22:04:42 -0400
commitdd51eaf8b31b935f85732ac2ba73adb9978a70af (patch)
treeaedb5c257021eda7b262555fee97cf8581547aa8 /vnet
parent3f7a7cac779e597535154c6a407567db4f736488 (diff)
Fix vnet test script to use only wlan0.
Diffstat (limited to 'vnet')
-rwxr-xr-xvnet/build.sh2
1 files changed, 1 insertions, 1 deletions
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() {
72 72
73buildtaps 73buildtaps
74 74
75num=$(ip addr | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p') 75num=$(ip addr show wlan0 | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p')
76 76
77ip addr add 80.$num.99.99 dev ep0 77ip addr add 80.$num.99.99 dev ep0
78ip addr add 81.$num.99.99 dev ep1 78ip addr add 81.$num.99.99 dev ep1