mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 15:58:29 +00:00
sd-rtnl: route - allow setting multiple matching routes
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user