|
@@ -1342,6 +1342,8 @@ int fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event,
|
|
|
IN_DEV_IGNORE_ROUTES_WITH_LINKDOWN(in_dev))
|
|
|
rtm->rtm_flags |= RTNH_F_DEAD;
|
|
|
}
|
|
|
+ if (fi->fib_nh->nh_flags & RTNH_F_OFFLOAD)
|
|
|
+ rtm->rtm_flags |= RTNH_F_OFFLOAD;
|
|
|
#ifdef CONFIG_IP_ROUTE_CLASSID
|
|
|
if (fi->fib_nh[0].nh_tclassid &&
|
|
|
nla_put_u32(skb, RTA_FLOW, fi->fib_nh[0].nh_tclassid))
|