diff options
Diffstat (limited to 'vnet')
-rwxr-xr-x | vnet/build.sh | 2 |
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 | ||
73 | buildtaps | 73 | buildtaps |
74 | 74 | ||
75 | num=$(ip addr | 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 | 76 | ||
77 | ip addr add 80.$num.99.99 dev ep0 | 77 | ip addr add 80.$num.99.99 dev ep0 |
78 | ip addr add 81.$num.99.99 dev ep1 | 78 | ip addr add 81.$num.99.99 dev ep1 |