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:
|
case RTA_GATEWAY:
|
||||||
break;
|
break;
|
||||||
/* u32 */
|
/* u32 */
|
||||||
|
case RTA_PRIORITY:
|
||||||
case RTA_OIF:
|
case RTA_OIF:
|
||||||
u32 = RTA_DATA(rtattr);
|
u32 = RTA_DATA(rtattr);
|
||||||
*u32 = tswap32(*u32);
|
*u32 = tswap32(*u32);
|
||||||
|
Loading…
Reference in New Issue
Block a user