X-Git-Url: http://git.onelab.eu/?p=planetlab-umts-tools.git;a=blobdiff_plain;f=umtsd;fp=umtsd;h=4fbf77363d63e86a40ccedbf7aeb2694d5d91822;hp=a97bf578c80d9172032edddecd198f357d0a80d9;hb=3b48f88c249cda58dc52f838d5ce9c098a6614e3;hpb=cf67fdf4f5da2fc96285fa4420fb7d8d689e44bb diff --git a/umtsd b/umtsd index a97bf57..4fbf773 100755 --- a/umtsd +++ b/umtsd @@ -23,6 +23,7 @@ rest=`echo ${line#* }` case "$command" in start) logger "Starting the umts connection for $sliver" + start_umts $sliver; if [[ $? != 0 ]] ; then @@ -43,6 +44,10 @@ case "$command" in add) logger "Request to add a destination by $sliver for the UMTS connection"; + if ! check_sliceip; then + exit 1 + fi + if ! valid_dotted_quad "$rest"; then echo "Failed" else @@ -59,6 +64,10 @@ case "$command" in del) logger "Request to del a destination by $sliver for the UMTS connection"; + if ! check_sliceip; then + exit 1 + fi + if ! valid_dotted_quad "$rest"; then echo "Failed" else