From: Tobias Brunner Date: Fri, 15 Jun 2012 10:50:30 +0000 (+0200) Subject: NLM_F_DUMP includes NLM_F_ROOT. X-Git-Tag: 5.0.0~101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c1332bf7c110424e333b8e01357eb52864c4ad1;p=thirdparty%2Fstrongswan.git NLM_F_DUMP includes NLM_F_ROOT. --- diff --git a/src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c b/src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c index 50940271c9..e23cf445d7 100644 --- a/src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c +++ b/src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c @@ -1135,7 +1135,7 @@ static host_t *get_route(private_kernel_netlink_net_t *this, host_t *dest, /* We dump all addresses for IPv4, as we want to ignore IPsec specific * routes installed by us. But the kernel does not return source * addresses in a IPv6 dump, so fall back to get() for v6 routes. */ - hdr->nlmsg_flags |= NLM_F_ROOT | NLM_F_DUMP; + hdr->nlmsg_flags |= NLM_F_DUMP; } hdr->nlmsg_type = RTM_GETROUTE; hdr->nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg));