diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-02 15:49:40 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-03 18:14:42 +0200 |
commit | 3f781aa8a0b4490e00975ebc7d4a7b729c7dd9e8 (patch) | |
tree | 3c77d5c11fc116d59a2cf187982722255ba331a3 /src | |
parent | 8faf88e5eb5495bd54b2b2ad376e836a530de603 (diff) |
sd-rtnl: route - allow setting multiple matching routes
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd/sd-rtnl/rtnl-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index 3576274e45..150b46fcef 100644 --- a/src/libsystemd/sd-rtnl/rtnl-message.c +++ b/src/libsystemd/sd-rtnl/rtnl-message.c @@ -146,7 +146,7 @@ int sd_rtnl_message_new_route(sd_rtnl *rtnl, sd_rtnl_message **ret, return r; if (nlmsg_type == RTM_NEWROUTE) - (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_EXCL; + (*ret)->hdr->nlmsg_flags |= NLM_F_CREATE | NLM_F_APPEND; rtm = NLMSG_DATA((*ret)->hdr); |