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
MFC after: 3 days

Details

Provenance
melifaroAuthored on Feb 11 2021, 11:24 PM
Parents
rG1253835121cb: inetd: fix unix sockaddr's length assignment
Branches
Unknown
Tags
Unknown