summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-11-24 22:08:30 +0100
committerTom Gundersen <teg@jklm.no>2013-11-26 01:32:25 +0100
commit46fabae6b33386277f5ee394cf0d5382376586da (patch)
treeb0368203696a12878adf53e4b6c9914c17fbd5a9
parent33125ac50bafd93dd98934f5f6ff23a59da8d793 (diff)
rtnl: add support for IFLA_MASTER
-rw-r--r--src/libsystemd-rtnl/rtnl-message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-rtnl/rtnl-message.c b/src/libsystemd-rtnl/rtnl-message.c
index 800bf2354c..b2b7feb3c8 100644
--- a/src/libsystemd-rtnl/rtnl-message.c
+++ b/src/libsystemd-rtnl/rtnl-message.c
@@ -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_MASTER:
case IFLA_MTU:
case IFLA_LINK:
return add_rtattr(m, type, data, sizeof(uint32_t));