mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
mgmtd: fix compile error
Compile error with `--disable-ripd`: ``` mgmtd/mgmt_be_adapter.c:86:5: error: "HAVE_RIPD" is not defined, evaluates to 0 [-Werror=undef] 86 | #if HAVE_RIPD | ^~~~~~~~~ ``` I have searched the code, there is only three places need to be fixed. Signed-off-by: anlan_cs <anlan_cs@126.com>
This commit is contained in:
parent
f7fcc44292
commit
b5b8c9d3ec
|
@ -83,7 +83,7 @@ static const char *const zebra_oper_xpaths[] = {
|
|||
NULL,
|
||||
};
|
||||
|
||||
#if HAVE_RIPD
|
||||
#ifdef HAVE_RIPD
|
||||
static const char *const ripd_config_xpaths[] = {
|
||||
"/frr-filter:lib",
|
||||
"/frr-interface:lib/interface",
|
||||
|
@ -104,7 +104,7 @@ static const char *const ripd_rpc_xpaths[] = {
|
|||
};
|
||||
#endif
|
||||
|
||||
#if HAVE_RIPNGD
|
||||
#ifdef HAVE_RIPNGD
|
||||
static const char *const ripngd_config_xpaths[] = {
|
||||
"/frr-filter:lib",
|
||||
"/frr-interface:lib/interface",
|
||||
|
@ -123,7 +123,7 @@ static const char *const ripngd_rpc_xpaths[] = {
|
|||
};
|
||||
#endif
|
||||
|
||||
#if HAVE_STATICD
|
||||
#ifdef HAVE_STATICD
|
||||
static const char *const staticd_config_xpaths[] = {
|
||||
"/frr-vrf:lib",
|
||||
"/frr-interface:lib",
|
||||
|
|
Loading…
Reference in a new issue