From 39004c0bba4f1c85a3a44be18775ee519ad44ed5 Mon Sep 17 00:00:00 2001
From: Claudio-Daniel Freire <cdfreire@antar.inria.fr>
Date: Mon, 23 May 2011 11:06:40 +0200
Subject: [PATCH] vif_up should abort if pointopoint does not validate

---
 exec/vif_up | 1 +
 1 file changed, 1 insertion(+)

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:
-- 
2.47.0