Commit 895a12fa authored by Joanne Hugé's avatar Joanne Hugé

Update start server script

parent 09cc83f4
#!/bin/bash
usage() {
echo "Usage: $0 [-t] [-c NB_PACKETS]" 1>&2;
echo "Usage: $0 [-t NB_PACKETS]" 1>&2;
exit 1;
}
while getopts "c:t" opt; do
while getopts "t:" opt; do
case "${opt}" in
c )
nb_packets=${OPTARG}
;;
t )
use_tcpdump=1
nb_packets=${OPTARG}
;;
* )
usage
......
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