diff options
Diffstat (limited to 'scripts/runqemu-ifup')
-rwxr-xr-x | scripts/runqemu-ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index 870cb6bcb7..3bd9980ad0 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup | |||
@@ -94,7 +94,7 @@ if [ ! -x "$IPTABLES" ]; then | |||
94 | fi | 94 | fi |
95 | 95 | ||
96 | n=$[ (`echo $TAP | sed 's/tap//'` * 2) + 1 ] | 96 | n=$[ (`echo $TAP | sed 's/tap//'` * 2) + 1 ] |
97 | $IFCONFIG $TAP 192.168.7.$n | 97 | $IFCONFIG $TAP 192.168.7.$n netmask 255.255.255.255 |
98 | 98 | ||
99 | dest=$[ (`echo $TAP | sed 's/tap//'` * 2) + 2 ] | 99 | dest=$[ (`echo $TAP | sed 's/tap//'` * 2) + 2 ] |
100 | $ROUTE add -host 192.168.7.$dest $TAP | 100 | $ROUTE add -host 192.168.7.$dest $TAP |