diff options
-rw-r--r-- | src/libsystemd/sd-rtnl/rtnl-message.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index 652dc6ee81..cf40572b81 100644 --- a/src/libsystemd/sd-rtnl/rtnl-message.c +++ b/src/libsystemd/sd-rtnl/rtnl-message.c @@ -964,7 +964,8 @@ int sd_rtnl_message_enter_container(sd_rtnl_message *m, unsigned short type) { default: return -ENOTSUP; } - } + } else + return -ENOTSUP; r = rtnl_message_parse(m, &m->rta_offset_tb[m->n_containers + 1], |