diff options
author | Tom Gundersen <teg@jklm.no> | 2015-11-03 15:25:10 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-11-11 15:42:38 +0100 |
commit | b69015efd2752fd2719beec85496221304130b0b (patch) | |
tree | 5554f06070a175a4a08d9399d3c0d14cb9506af7 /src/libsystemd/sd-netlink | |
parent | 8ae4b6d12ca93fcfa17d209c40ea0b75c8a7f88e (diff) |
sd-netlink: add support for RTA_PREF
Diffstat (limited to 'src/libsystemd/sd-netlink')
-rw-r--r-- | src/libsystemd/sd-netlink/netlink-types.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/sd-netlink/netlink-types.c index b2575404bf..135354e5f3 100644 --- a/src/libsystemd/sd-netlink/netlink-types.c +++ b/src/libsystemd/sd-netlink/netlink-types.c @@ -490,7 +490,11 @@ static const NLType rtnl_route_types[] = { RTA_TABLE, RTA_MARK, RTA_MFC_STATS, + RTA_VIA, + RTA_NEWDST, */ + [RTA_PREF] = { .type = NETLINK_TYPE_U8 }, + }; static const NLTypeSystem rtnl_route_type_system = { |