HomeFreeBSD

Fix interface route addition with net/bird.

Description

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

(cherry picked from commit 8170a7d43835047f9c1548a081eea45116473995)

Details

Provenance
melifaroAuthored on Feb 14 2021, 10:30 AM
Parents
rG11304949deb3: Fix ifa refcount leak during route addition.
Branches
Unknown
Tags
Unknown