projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f33e8a6
)
pinba plugin: Add temporary defines for default address and port.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 9 Apr 2010 12:50:16 +0000
(14:50 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 9 Apr 2010 12:50:16 +0000
(14:50 +0200)
src/pinba.c
patch
|
blob
|
history
diff --git
a/src/pinba.c
b/src/pinba.c
index
264fbdf
..
77d7238
100644
(file)
--- 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;