projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c265bcd
)
ping plugin: warn on invalid AddressFamily value instead of error
author
lilydjwg
<lilydjwg@gmail.com>
Tue, 1 May 2018 08:40:09 +0000
(16:40 +0800)
committer
lilydjwg
<lilydjwg@gmail.com>
Tue, 1 May 2018 08:40:09 +0000
(16:40 +0800)
src/ping.c
patch
|
blob
|
history
diff --git
a/src/ping.c
b/src/ping.c
index
b07a424
..
b619e37
100644
(file)
--- a/
src/ping.c
+++ b/
src/ping.c
@@
-488,9
+488,7
@@
static int ping_config(const char *key, const char *value) /* {{{ */
} else if (strncmp(af, "ipv6", 4) == 0) {
ping_af = AF_INET6;
} else {
- ERROR("ping plugin: Bad address family: %s", af);
- free(af);
- return 1;
+ WARNING("ping plugin: Ignoring invalid AddressFamily value %s", af);
}
free(af);