From: Claudio-Daniel Freire Date: Mon, 23 May 2011 09:06:40 +0000 (+0200) Subject: vif_up should abort if pointopoint does not validate X-Git-Tag: vsys-scripts-0.95-29~2 X-Git-Url: http://git.onelab.eu/?p=vsys-scripts.git;a=commitdiff_plain;h=39004c0bba4f1c85a3a44be18775ee519ad44ed5 vif_up should abort if pointopoint does not validate --- diff --git a/exec/vif_up b/exec/vif_up index b7a35d3..c151d63 100755 --- a/exec/vif_up +++ b/exec/vif_up @@ -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: