Commit 5eda49f8 authored by Joanne Hugé's avatar Joanne Hugé

Update the static ips in the wrapper scripts

parent 6db645f2
......@@ -13,7 +13,7 @@ interval=100000
# Default options
client_options="-a -p 99 -f eth0"
qdisc_options=""
ip="192.168.99."
ip="192.168.17."
etf_offset=500
while getopts "bd:e:o:ghi:ptT:G" opt; do
......@@ -68,11 +68,11 @@ shift $((OPTIND-1))
if [ -n "$1" ]; then
if [ "$1" == "emerald" ]; then
ip+="25"
ip+="3"
elif [ "$1" == "slate" ]; then
ip+="26"
ip+="2"
elif [ "$1" == "onyx" ]; then
ip+="27"
ip+="4"
else
usage
exit 1
......
......@@ -9,7 +9,7 @@ usage() {
# Default options
server_options="-a -p 99 -f eth0"
ip="192.168.99."
ip="192.168.17."
tcpdump_interval=1000000
while getopts "b:htd:i:g:T:G" opt; do
......@@ -53,11 +53,11 @@ shift $((OPTIND-1))
if [ -n "${use_rtt}" ]; then
if [ "$board" == "emerald" ]; then
ip+="25"
ip+="3"
elif [ "$board" == "slate" ]; then
ip+="26"
ip+="2"
elif [ "$board" == "onyx" ]; then
ip+="27"
ip+="4"
else
usage
exit 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment