summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/rtnl-message.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-02-06 11:49:07 +0100
committerTom Gundersen <teg@jklm.no>2015-02-06 11:49:39 +0100
commitb621bfd2311a13311a45ccd5e31a9ce3214895fe (patch)
tree0dd8f38e131a590a9416fcc5c852d0e55326f6a3 /src/libsystemd/sd-rtnl/rtnl-message.c
parent1c25683e0f40c6169676cc44fa1897082597feec (diff)
sd-rtnl: fix creation of synthetic error replies
Diffstat (limited to 'src/libsystemd/sd-rtnl/rtnl-message.c')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-message.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c
index 1f44c341aa..23253029e5 100644
--- a/src/libsystemd/sd-rtnl/rtnl-message.c
+++ b/src/libsystemd/sd-rtnl/rtnl-message.c
@@ -71,8 +71,6 @@ int message_new(sd_rtnl *rtnl, sd_rtnl_message **ret, uint16_t type) {
if (r < 0)
return r;
- assert(nl_type->type == NLA_NESTED);
-
r = message_new_empty(rtnl, &m);
if (r < 0)
return r;