chiark / gitweb /
rtnl: add support for IFLA_MASTER
authorTom Gundersen <teg@jklm.no>
Sun, 24 Nov 2013 21:08:30 +0000 (22:08 +0100)
committerTom Gundersen <teg@jklm.no>
Tue, 26 Nov 2013 00:32:25 +0000 (01:32 +0100)
src/libsystemd-rtnl/rtnl-message.c

index 800bf2354caa5583b047f8a31086d630fe824613..b2b7feb3c86bd376bb9911c86be32ad59a4f78bd 100644 (file)
@@ -320,6 +320,7 @@ int sd_rtnl_message_append(sd_rtnl_message *m, unsigned short type, const void *
                                 case IFLA_IFALIAS:
                                 case IFLA_QDISC:
                                         return add_rtattr(m, type, data, strlen(data) + 1);
                                 case IFLA_IFALIAS:
                                 case IFLA_QDISC:
                                         return add_rtattr(m, type, data, strlen(data) + 1);
+                                case IFLA_MASTER:
                                 case IFLA_MTU:
                                 case IFLA_LINK:
                                         return add_rtattr(m, type, data, sizeof(uint32_t));
                                 case IFLA_MTU:
                                 case IFLA_LINK:
                                         return add_rtattr(m, type, data, sizeof(uint32_t));