]> git.puffer.fish Git - mirror/frr.git/commit
mgmtd: fix warning if ripngd disabled 15461/head
authorVincent JARDIN <vjardin@free.fr>
Fri, 1 Mar 2024 16:27:53 +0000 (17:27 +0100)
committerVincent JARDIN <vjardin@free.fr>
Fri, 1 Mar 2024 16:36:15 +0000 (17:36 +0100)
commit717b3350bb9b559df0b9a3d9e2bdc3cb41e816e1
treecedccd74e827894fe1128c83a0c1f995e48575bb
parente3bc6e39e4b7c54dbe8784a2f93d98c95441c3d0
mgmtd: fix warning if ripngd disabled

./configure [...] --disable-ripngd

could lead to:

mgmtd/mgmt_vty.c:614:5: warning: "HAVE_RIPNGD" is not defined, evaluates to 0 [-Wundef]
  614 | #if HAVE_RIPNGD
      |     ^~~~~~~~~~~

Signed-off-by: Vincent Jardin <vjardin@free.fr>
mgmtd/mgmt_vty.c