summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/rtnl-message.c
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@redhat.com>2014-02-07 22:36:25 +0530
committerTom Gundersen <teg@jklm.no>2014-02-10 14:53:19 +0100
commit108e131ece5990466fa6d7bcfe3177a063bd1ddd (patch)
treee6d26405bf6e6bbda38768d8c21722b73f69d291 /src/libsystemd/sd-rtnl/rtnl-message.c
parent11fc2e833e454e65ff1123a091ab1a877a063e15 (diff)
sd-rtnl: added support for a few more attributes
Diffstat (limited to 'src/libsystemd/sd-rtnl/rtnl-message.c')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-message.c5
1 files changed, 5 insertions, 0 deletions
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;