Skip to content

Commit 890780b

Browse files
committed
FE; Disable BFD multihop
Adjust BIRD config to disable BFD multihop, thus do not create a listener socket for the multihop port.
1 parent fe8e9e6 commit 890780b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/frontend/internal/frontend/service.go

+1
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ func (fes *FrontEndService) writeConfigGW(conf *string) {
812812
// Note: BIRD 2.0.8 does not support per peer BFD attributes for Static protocol,
813813
// thus only 1 BFD configuration per interface is possible
814814
*conf += "protocol bfd 'NBR-BFD' {\n"
815+
*conf += "\taccept direct;\n"
815816
*conf += fmt.Sprintf("\tinterface \"%v\" {\n", fes.extInterface)
816817
writeBfdSpec(conf, bfdSpec)
817818
*conf += "\t};\n"

0 commit comments

Comments
 (0)