mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 19:33:39 +08:00
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:
parent
2f14788c54
commit
434f286bbc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user