platform: fix build

Fixes: 471521ca84
(cherry picked from commit 02fb3eff48)
This commit is contained in:
Lubomir Rintel 2016-08-30 15:05:39 +02:00
parent 3a2e3aa70b
commit 4cf61eeafd

View file

@ -4070,7 +4070,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);
@ -4078,7 +4078,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