From a4fd3b60cc59751abd189687ac9c6fe9e4fd89a0 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Thu, 15 Apr 2010 14:29:51 +0100 Subject: Fix compiling with --enable-snmp Now compiles with --enable-snmp, but note that: * setting timer values will not affect sessions which have already been activated. * the values for BGPPEERSTATE are not the same as before. (Am looking into what this should be.) * cannot (currently) stop sessions using SNMP. --- lib/smux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/smux.c') diff --git a/lib/smux.c b/lib/smux.c index ec87e10e..df02dd44 100644 --- a/lib/smux.c +++ b/lib/smux.c @@ -977,7 +977,7 @@ smux_open (int sock) ptr = asn_build_string (ptr, &len, (u_char) (ASN_UNIVERSAL | ASN_PRIMITIVE | ASN_OCTET_STR), - progname, strlen (progname)); + progname, strlen ((void*)progname)); /* SMUX connection password. */ ptr = asn_build_string (ptr, &len, -- cgit v1.2.3