summaryrefslogtreecommitdiffstats
path: root/lib/smux.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-11-04 15:08:38 +0100
committerDonald Sharp <sharpd@nvidia.com>2022-12-15 13:31:55 +0100
commit2fcd46fe3817f162d08703ed9ab680f52ac0b24c (patch)
tree8c2266f896b19a5d2743870acd2075c9d1ba4059 /lib/smux.h
parentbgpd: use the enum instead of an int (diff)
downloadfrr-2fcd46fe3817f162d08703ed9ab680f52ac0b24c.tar.xz
frr-2fcd46fe3817f162d08703ed9ab680f52ac0b24c.zip
lib: Convert agentx_enabled to a bool
FRR is using this as a bool. Let's just use a bool. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/smux.h')
-rw-r--r--lib/smux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smux.h b/lib/smux.h
index 48c337423..27f03b685 100644
--- a/lib/smux.h
+++ b/lib/smux.h
@@ -109,7 +109,7 @@ struct index_oid {
#define SNMP_IP6ADDRESS(V) (*var_len = sizeof(struct in6_addr), (uint8_t *)&V)
-extern int smux_enabled(void);
+extern bool smux_enabled(void);
extern void smux_init(struct thread_master *tm);
extern void smux_agentx_enable(void);