File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/statd/python/ospf_status Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ All notable changes to the project are documented in this file.
29
29
- Fix #1155 : ` show ospf ` commands regression
30
30
- Fix #1150 : ` show-legacy ` wrapper permissions
31
31
- Fix #1161 : error in log during boot about unsupported command
32
+ - Fix #1169 : Expected neighbors not shown in sysrepocfg
32
33
- Fixes for unicode translation in log and pager outputs as well as ` syslogd `
33
34
34
35
[ BPI-R3 ] : https://wiki.banana-pi.org/Banana_Pi_BPI-R3
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ def main():
40
40
for ifname , iface in interfaces ["interfaces" ].items ():
41
41
iface ["name" ] = ifname
42
42
iface ["neighbors" ] = []
43
+
44
+ # Skip interfaces that don't have OSPF enabled or area configured
45
+ if not iface .get ("ospfEnabled" , False ) or not iface .get ("area" ):
46
+ continue
47
+
43
48
for area_id in ospf ["areas" ]:
44
49
area_type = ""
45
50
You can’t perform that action at this time.
0 commit comments