chiark / gitweb /
sd-rtnl: added support for a few more attributes
authorSusant Sahani <ssahani@redhat.com>
Fri, 7 Feb 2014 17:06:25 +0000 (22:36 +0530)
committerTom Gundersen <teg@jklm.no>
Mon, 10 Feb 2014 13:53:19 +0000 (14:53 +0100)
src/libsystemd/sd-rtnl/rtnl-message.c

index 39ef25ef9ec917577cee668891280f73877fed0c..625d54a72aeffdfb9b5a6b59042ff96e0bd5c652 100644 (file)
@@ -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;