From 2ee0dc2bd72ec318fcc227af54e5ca7e1384a6cc Mon Sep 17 00:00:00 2001 From: Igor Novgorodov Date: Sun, 12 Feb 2012 22:40:02 +0400 Subject: [PATCH] The code blocks enabled by ENABLE_CLIENT_CR depends on management If the management interface is not enabled, it makes no sense in including the ENABLE_CLIENT_CR #ifdef blocks. This will also in some configurations cause build issues if these blocks are enabled. Signed-off-by: Igor Novgorodov Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- syshead.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syshead.h b/syshead.h index f1211142b..98be0c39b 100644 --- a/syshead.h +++ b/syshead.h @@ -713,7 +713,9 @@ socket_defined (const socket_descriptor_t sd) /* * Do we support challenge/response authentication as client? */ +#if defined(ENABLE_MANAGEMENT) #define ENABLE_CLIENT_CR +#endif /* * Do we support pushing peer info? -- 2.47.2