View | Details | Raw Unified | Return to bug 255871
Collapse All | Expand All

(-)b/sys/net/rtsock.c (+1 lines)
Lines 976-981 update_rtm_from_rc(struct rt_addrinfo *info, struct rt_msghdr **prtm, Link Here
976
	if ((error = update_rtm_from_info(info, prtm, alloc_len)) != 0)
976
	if ((error = update_rtm_from_info(info, prtm, alloc_len)) != 0)
977
		return (error);
977
		return (error);
978
978
979
	rtm = *prtm;
979
	rtm->rtm_flags = rc->rc_rt->rte_flags | nhop_get_rtflags(nh);
980
	rtm->rtm_flags = rc->rc_rt->rte_flags | nhop_get_rtflags(nh);
980
	if (rtm->rtm_flags & RTF_GWFLAG_COMPAT)
981
	if (rtm->rtm_flags & RTF_GWFLAG_COMPAT)
981
		rtm->rtm_flags = RTF_GATEWAY | 
982
		rtm->rtm_flags = RTF_GATEWAY | 

Return to bug 255871