HomeFreeBSD

netlink: fix addition of blackhole/reject routes.

Description

netlink: fix addition of blackhole/reject routes.

  • Make nhop_set_blackhole() set all necessary properties for the nexthop
  • Make nexthops blackhole/reject based on the rtm_type netlink property instead of using rtflags.

Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
MFC after: 3 days

Details

Provenance
melifaroAuthored on Feb 23 2023, 5:38 PM
Parents
rG98c666cf8758: arm: Fix initialization of VFP context
Branches
Unknown
Tags
Unknown