From 02fb3eff481f79d3caa67fdde20b2ae7aa5e640b Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 30 Aug 2016 15:05:39 +0200 Subject: [PATCH] platform: fix build Fixes: 471521ca84187cd32afcd20aebe5a369fe7368dc --- src/platform/nm-linux-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index ad88c8e961..d5e6c2900f 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -4071,7 +4071,7 @@ do_change_link_request (NMPlatform *platform, int nle; if (!nm_platform_netns_push (platform, &netns)) - return NM_PLATFORM_ERROR_UNSPECIFIED; + return seq_result; retry: nle = _nl_send_auto_with_seq (platform, nlmsg, &seq_result, NULL); @@ -4079,7 +4079,7 @@ retry: _LOGE ("do-change-link[%d]: failure sending netlink request \"%s\" (%d)", ifindex, nl_geterror (nle), -nle); - return NM_PLATFORM_ERROR_UNSPECIFIED; + return seq_result; } /* always refetch the link after changing it. There seems to be issues