]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix interface route addition with net/bird.
authorAlexander V. Chernikov <melifaro@FreeBSD.org>
Thu, 11 Feb 2021 23:24:27 +0000 (23:24 +0000)
committerAlexander V. Chernikov <melifaro@FreeBSD.org>
Fri, 12 Feb 2021 19:45:35 +0000 (19:45 +0000)
commit8170a7d43835047f9c1548a081eea45116473995
tree66eedf02ccf8bf7d10f724f2142d0c4d96105b1f
parent1253835121cb38fd93478849e32a4a4c13436fb2
Fix interface route addition with net/bird.

The case of adding interface route by specifying interface
 address as the gateway was missed during code refactoring.
Re-add it back by copying non-AF_LINK gateway data when RTF_GATEWAY
 is not set.

Reviewed by: donner
MFC after: 3 days
sys/net/route/nhop_ctl.c