bio-routing / bio-rd

bio routing is a project to create a versatile, fast and reliable routing daemon in Golang. bio = BGP + IS-IS + OSPF
Apache License 2.0
283 stars 44 forks source link

bio-rd: BGP: Enforce setting local-address or better detect it automatically #437

Open taktv6 opened 1 year ago

taktv6 commented 1 year ago

Describe the bug When local_address is not specified on a BGP neighbor bio-rd crashes on startup.

Steps to Reproduce Create bio-rd config with a BGP neighbor without specifying local_address and start bio-rd.

Expected behavior It must not crash but should either throw an error asking for the complete config or detect the local address automatically.