]> git.ipfire.org Git - thirdparty/bird.git/commit
BFD: Fix build when BFD is disabled
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 28 May 2024 13:31:52 +0000 (15:31 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 28 May 2024 13:31:52 +0000 (15:31 +0200)
commite29f134ad9346343277b7cb4581d2a704592dc79
treec07f2b74b64c5b8e564d0b661f740d5415c5ca6c
parent765debf5236375595d52aaa188183df8b5edd4f4
BFD: Fix build when BFD is disabled

Move bfd_opts grammar inside BFD parser code to avoid dependences between
nest and BFD grammars, which breaks when BFD build is disabled.

Add dummy bfd_opts grammar rule, so protocols can use this nonterminal
even with BFD disabled.

Thanks to Yuri Honegger for the bugreport.
nest/config.Y
proto/bfd/config.Y