vif_up should abort if pointopoint does not validate
authorClaudio-Daniel Freire <cdfreire@antar.inria.fr>
Mon, 23 May 2011 09:06:40 +0000 (11:06 +0200)
committerClaudio-Daniel Freire <cdfreire@antar.inria.fr>
Mon, 23 May 2011 09:06:40 +0000 (11:06 +0200)
exec/vif_up

index b7a35d3..c151d63 100755 (executable)
@@ -139,6 +139,7 @@ for optionline in options:
             socket.inet_aton(opt_pointopoint)
         except socket.error,e:
             print >>sys.stderr, "pointopoint: %s" % (e,)
+            sys.exit(1)
     elif opt=="vswitch":
         opt_ovs_dp = val
     else: