diff options
author | Joe Crayne <joe@jerkface.net> | 2018-09-09 21:13:37 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2018-09-21 18:18:58 -0400 |
commit | dcbfc57c019d5f58c15c9f34c171cf63b88e1a38 (patch) | |
tree | 35ce6ccc9db3c1b371d1fbea4370b820386777de /vnet | |
parent | 92957a792a87dbc4d2b8120aaf57bf983c4796e2 (diff) |
Enabled vnet testing script without wlan0.
Diffstat (limited to 'vnet')
-rwxr-xr-x | vnet/build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vnet/build.sh b/vnet/build.sh index 19d65406..5354969a 100755 --- a/vnet/build.sh +++ b/vnet/build.sh | |||
@@ -73,6 +73,7 @@ buildtaps() { | |||
73 | buildtaps | 73 | buildtaps |
74 | 74 | ||
75 | num=$(ip addr show wlan0 | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p') | 75 | num=$(ip addr show wlan0 | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p') |
76 | num=${num:-88} | ||
76 | 77 | ||
77 | ip addr add 80.$num.99.99 dev ep0 | 78 | ip addr add 80.$num.99.99 dev ep0 |
78 | ip addr add 81.$num.99.99 dev ep1 | 79 | ip addr add 81.$num.99.99 dev ep1 |