From 2051b92d8ec82e5bc7de0922cabd95887c8a0461 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 9 Apr 2010 14:50:16 +0200 Subject: [PATCH] pinba plugin: Add temporary defines for default address and port. --- src/pinba.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; -- 2.30.2