From: Florian Forster Date: Fri, 9 Apr 2010 12:50:16 +0000 (+0200) Subject: pinba plugin: Add temporary defines for default address and port. X-Git-Tag: collectd-4.10.0~7^2~20 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2051b92d8ec82e5bc7de0922cabd95887c8a0461;p=collectd.git pinba plugin: Add temporary defines for default address and port. --- diff --git a/src/pinba.c b/src/pinba.c index 264fbdf4..77d72381 100644 --- a/src/pinba.c +++ b/src/pinba.c @@ -46,6 +46,17 @@ typedef uint8_t u_char; # define PINBA_UDP_BUFFER_SIZE 65536 #endif +#ifndef PINBA_DEFAULT_ADDRESS +# define PINBA_DEFAULT_ADDRESS "127.0.0.1" /* FIXME */ +#endif + +#ifndef PINBA_DEFAULT_PORT +# define PINBA_DEFAULT_PORT 12345 /* FIXME */ +#endif + +/* + * Private data structures + */ typedef struct _pinba_statres_ pinba_statres; struct _pinba_statres_ { const char *name;