summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
Diffstat (limited to 'zebra')
-rw-r--r--zebra/rt_netlink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index 4f4ebb7a..a2b678ee 100644
--- a/zebra/rt_netlink.c
+++ b/zebra/rt_netlink.c
@@ -1178,6 +1178,10 @@ netlink_route_multipath (int cmd, struct prefix *p, struct rib *rib,
req.r.rtm_table = rib->table;
req.r.rtm_dst_len = p->prefixlen;
+#ifdef RTM_F_EQUALIZE
+ req.r.rtm_flags |= RTM_F_EQUALIZE;
+#endif /* RTM_F_EQUALIZE */
+
if (rib->flags & ZEBRA_FLAG_BLACKHOLE)
discard = 1;
else