diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-08-19 09:11:19 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-08-19 09:11:19 +0000 |
commit | 0bb941214e1ebd5f2444a4012b67cda053c85eaf (patch) | |
tree | 7bfd2d579e174d43c1a2f94e8ccbda4e8e02e3b1 /usr.sbin/apm | |
parent | 79f0851fa8062398db13f77698000021dc11b308 (diff) |
Fix nexthop lookup for connected routes.
In knexthop_true_nexthop() connected routes need to be handled specially.
If a nexthop is directly reachable the gateway needs to remain the same.
There is no nexthop set for F_CONNECTED kroutes. A very similar trick
is used in rde_rib.c::nexthop_update() but was forgotten here.
Regression noticed by Daniel Jakots (danj at chown.me).
OK tb@
Diffstat (limited to 'usr.sbin/apm')
0 files changed, 0 insertions, 0 deletions