summaryrefslogtreecommitdiffstats
path: root/lib/smux.c
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-04-15 14:29:51 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-04-15 14:29:51 +0100
commita4fd3b60cc59751abd189687ac9c6fe9e4fd89a0 (patch)
tree124b759406bf077086af297c8169c2796e849954 /lib/smux.c
parent54009927e37889a5bd4d14f8cd8ab36e7227b648 (diff)
downloadquagga-a4fd3b60cc59751abd189687ac9c6fe9e4fd89a0.tar.bz2
quagga-a4fd3b60cc59751abd189687ac9c6fe9e4fd89a0.tar.xz
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.
Diffstat (limited to 'lib/smux.c')
-rw-r--r--lib/smux.c2
1 files changed, 1 insertions, 1 deletions
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,