From 54c751ffc4f79dcd916b4dffe690f59615c7146d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 24 Oct 2009 14:10:37 +0000 Subject: Add back support for ports in snmp urls. * Note that for urls like: snmp://host1,host2:161/xxx the port applies to both hosts. --- daemon/rrdbotd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'daemon/rrdbotd.h') diff --git a/daemon/rrdbotd.h b/daemon/rrdbotd.h index aa19b23..49ec1bb 100644 --- a/daemon/rrdbotd.h +++ b/daemon/rrdbotd.h @@ -76,6 +76,7 @@ typedef struct _rb_item /* Host names, with alternate hosts */ #define MAX_HOSTNAMES 16 const char* hostnames[MAX_HOSTNAMES]; + const char* portnum; int hostindex; int n_hostnames; -- cgit v1.2.3