Description
Description
The OSPF process ID in the routing table is incorrect.Its data seems to have been truncated.
Version
181234# show version
FRRouting 10.3-dev (181234) on Linux(5.4.0-150-generic).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
'--prefix=/usr/local' '--sysconfdir=/etc/frr' '--localstatedir=/var/run/frr' '--enable-vtysh' '--enable-user=network' '--enable-group=network' '--with-libssl-prefix=/usr'
181234#
How to reproduce
181234# show ip route
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
O[232] 192.168.8.0/24 [110/100] is directly connected, enp0s3, weight 1, 00:00:14
C>* 192.168.8.0/24 is directly connected, enp0s3, 00:00:14
L>* 192.168.8.101/32 is directly connected, enp0s3, 00:00:14
181234# show ip ospf route
% OSPF is not enabled in vrf default
% OSPF is not enabled in vrf default
OSPF Instance: 1000
============ OSPF network routing table ============
N 192.168.8.0/24 [100] area: 0.0.0.0
directly attached to enp0s3
============ OSPF router routing table =============
R 192.168.8.14 [100] area: 0.0.0.0, ASBR
via 192.168.8.14, enp0s3
============ OSPF external routing table ===========
181234# show version
FRRouting 10.3-dev (181234) on Linux(5.4.0-150-generic).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
'--pref
Expected behavior
181234# show ip route
Codes: K - kernel route, C - connected, L - local, S - static,
R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric, t - Table-Direct,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
O[1000] 192.168.8.0/24 [110/100] is directly connected, enp0s3, weight 1, 00:00:14
C>* 192.168.8.0/24 is directly connected, enp0s3, 00:00:14
L>* 192.168.8.101/32 is directly connected, enp0s3, 00:00:14
Actual behavior
1000 [3E8] only E8 will be shown.
This BUG also appear in redistribute ospf id
example: redistribute ospf 232 can match the routes from ospf 1000.
Additional context
No response
Checklist
- I have searched the open issues for this bug.
- I have not included sensitive information in this report.