bug fix (wrong paramether id)
authorGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Tue, 12 Jun 2012 15:41:13 +0000 (17:41 +0200)
committerGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Tue, 12 Jun 2012 15:41:13 +0000 (17:41 +0200)
planetlab/scripts/del_port

index 5b1ef8e..8fbfb2a 100755 (executable)
@@ -11,6 +11,6 @@ if [ -z "$1" ]; then
 fi
 
 set -e
-if ovs-vsctl port-to-br "$2" >/dev/null 2>&1; then
-       ovs-vsctl del-port "$2"
+if ovs-vsctl port-to-br "$1" >/dev/null 2>&1; then
+       ovs-vsctl del-port "$1"
 fi