mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Do not set the RTF_GATEWAY flag if RTF_LLINFO is set, it doesn't make much
sense in that context, and leads to unusable routes. This should unbreak bootpd. Discussed with: glebius Submitted by: bms Approved by: re (bmah)
This commit is contained in:
parent
851b7298b3
commit
18b6e4c8d2
1 changed files with 2 additions and 1 deletions
|
|
@ -528,7 +528,8 @@ route_output(struct mbuf *m, struct socket *so)
|
|||
RT_UNLOCK(rt);
|
||||
senderr(error);
|
||||
}
|
||||
rt->rt_flags |= RTF_GATEWAY;
|
||||
if (!(rt->rt_flags & RTF_LLINFO))
|
||||
rt->rt_flags |= RTF_GATEWAY;
|
||||
}
|
||||
if (info.rti_ifa != NULL &&
|
||||
info.rti_ifa != rt->rt_ifa) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue