File 0004-ifconfig-do-not-stop-adding-routes-on-one-bad.patch of Package wicked.6334

From cd62c73485a365dd5f6025e87f423c5030f527d9 Mon Sep 17 00:00:00 2001
From: Nirmoy Das <ndas@suse.de>
Date: Tue, 25 Jul 2017 15:43:12 +0200
Subject: ifconfig: do not stop adding routes on one bad route (bsc#1036619)

Fix: wicked stopped adding routes if /etc/sysconfig/network/routes
has a wrong route

diff --git a/src/ifconfig.c b/src/ifconfig.c
index 0bf48fcc..220ece87 100644
--- a/src/ifconfig.c
+++ b/src/ifconfig.c
@@ -5563,7 +5563,7 @@ __ni_netdev_update_routes(ni_netconfig_t *nc, ni_netdev_t *dev,
 			ni_stringbuf_destroy(&buf);
 
 			if ((rv = __ni_rtnl_send_newroute(dev, rp, NLM_F_CREATE)) < 0)
-				return rv;
+				continue;
 
 			rp->owner = new_lease->type;
 			rp->seq = __ni_global_seqno;
-- 
2.13.6

openSUSE Build Service is sponsored by