linux-user: add RTA_PRIORITY in netlink

Used by fedora21 on ppc64 in the network initialization

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
Laurent Vivier 2016-10-06 14:55:10 +02:00 committed by Riku Voipio
parent 2f14788c54
commit 434f286bbc
1 changed files with 1 additions and 0 deletions

View File

@ -2600,6 +2600,7 @@ static abi_long target_to_host_data_route_rtattr(struct rtattr *rtattr)
case RTA_GATEWAY:
break;
/* u32 */
case RTA_PRIORITY:
case RTA_OIF:
u32 = RTA_DATA(rtattr);
*u32 = tswap32(*u32);