system-linux: Fix VTI ikey/okey on little endian systems
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 4 Mar 2016 17:43:54 +0000 (18:43 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 4 Mar 2016 17:46:03 +0000 (18:46 +0100)
commite27e23f76437edc7871c03c8c92d69fbe52d30f5
treebc3975580d3a505e36406b9ab254c76702f6a8dd
parent9c285e43451f3c930bce728ad3c5ac4550679a8e
system-linux: Fix VTI ikey/okey on little endian systems

The kernel expects the IFLA_VTI_IKEY and IFLA_VTI_OKEY netlink attributes to
be in network byte order, so ensure that the values are stored accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
system-linux.c