From 108e131ece5990466fa6d7bcfe3177a063bd1ddd Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Fri, 7 Feb 2014 22:36:25 +0530 Subject: sd-rtnl: added support for a few more attributes --- src/libsystemd/sd-rtnl/rtnl-message.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index 39ef25ef9e..625d54a72a 100644 --- a/src/libsystemd/sd-rtnl/rtnl-message.c +++ b/src/libsystemd/sd-rtnl/rtnl-message.c @@ -507,6 +507,10 @@ int sd_rtnl_message_append_u32(sd_rtnl_message *m, unsigned short type, uint32_t case IFLA_LINK: case IFLA_GROUP: case IFLA_TXQLEN: + case IFLA_WEIGHT: + case IFLA_NET_NS_FD: + case IFLA_NET_NS_PID: + case IFLA_PROMISCUITY: case IFLA_NUM_TX_QUEUES: case IFLA_NUM_RX_QUEUES: break; @@ -522,6 +526,7 @@ int sd_rtnl_message_append_u32(sd_rtnl_message *m, unsigned short type, uint32_t case RTA_PRIORITY: case RTA_IIF: case RTA_OIF: + case RTA_MARK: break; default: return -ENOTSUP; -- cgit v1.2.3-54-g00ecf