platform: fix build

Fixes: 471521ca84
This commit is contained in:
Lubomir Rintel 2016-08-30 15:05:39 +02:00
parent f3a60e14e7
commit 02fb3eff48

View file

@ -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