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 ...@@ -13,7 +13,7 @@ interval=100000
# Default options # Default options
client_options="-a -p 99 -f eth0" client_options="-a -p 99 -f eth0"
qdisc_options="" qdisc_options=""
ip="192.168.99." ip="192.168.17."
etf_offset=500 etf_offset=500
while getopts "bd:e:o:ghi:ptT:G" opt; do while getopts "bd:e:o:ghi:ptT:G" opt; do
...@@ -68,11 +68,11 @@ shift $((OPTIND-1)) ...@@ -68,11 +68,11 @@ shift $((OPTIND-1))
if [ -n "$1" ]; then if [ -n "$1" ]; then
if [ "$1" == "emerald" ]; then if [ "$1" == "emerald" ]; then
ip+="25" ip+="3"
elif [ "$1" == "slate" ]; then elif [ "$1" == "slate" ]; then
ip+="26" ip+="2"
elif [ "$1" == "onyx" ]; then elif [ "$1" == "onyx" ]; then
ip+="27" ip+="4"
else else
usage usage
exit 1 exit 1
......
...@@ -9,7 +9,7 @@ usage() { ...@@ -9,7 +9,7 @@ usage() {
# Default options # Default options
server_options="-a -p 99 -f eth0" server_options="-a -p 99 -f eth0"
ip="192.168.99." ip="192.168.17."
tcpdump_interval=1000000 tcpdump_interval=1000000
while getopts "b:htd:i:g:T:G" opt; do while getopts "b:htd:i:g:T:G" opt; do
...@@ -53,11 +53,11 @@ shift $((OPTIND-1)) ...@@ -53,11 +53,11 @@ shift $((OPTIND-1))
if [ -n "${use_rtt}" ]; then if [ -n "${use_rtt}" ]; then
if [ "$board" == "emerald" ]; then if [ "$board" == "emerald" ]; then
ip+="25" ip+="3"
elif [ "$board" == "slate" ]; then elif [ "$board" == "slate" ]; then
ip+="26" ip+="2"
elif [ "$board" == "onyx" ]; then elif [ "$board" == "onyx" ]; then
ip+="27" ip+="4"
else else
usage usage
exit 1 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