]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
NLM_F_DUMP includes NLM_F_ROOT.
authorTobias Brunner <tobias@strongswan.org>
Fri, 15 Jun 2012 10:50:30 +0000 (12:50 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 15 Jun 2012 14:46:27 +0000 (16:46 +0200)
src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c

index 50940271c9c705f026192009f2d48f3b8f6016e1..e23cf445d754dd761c33ef0b2d6f59d174404d85 100644 (file)
@@ -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));