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.
2929- Fix #1155 : ` show ospf ` commands regression
3030- Fix #1150 : ` show-legacy ` wrapper permissions
3131- Fix #1161 : error in log during boot about unsupported command
32+ - Fix #1169 : Expected neighbors not shown in sysrepocfg
3233- Fixes for unicode translation in log and pager outputs as well as ` syslogd `
3334
3435[ 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():
4040 for ifname , iface in interfaces ["interfaces" ].items ():
4141 iface ["name" ] = ifname
4242 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+
4348 for area_id in ospf ["areas" ]:
4449 area_type = ""
4550
You can’t perform that action at this time.
0 commit comments