X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fiptables.c;h=657b6ba0a5c340ca9ace0e8ff6de9c9b93bc0eff;hb=c5ffa797883f238776e6294054f260df3cd0aea6;hp=35975e6d8adff4979a18c841fabe57035eec416f;hpb=e1bfa71aca1f37c2f293dc9adb44065c6e7a9ad9;p=collectd.git diff --git a/src/iptables.c b/src/iptables.c index 35975e6d..657b6ba0 100644 --- a/src/iptables.c +++ b/src/iptables.c @@ -259,7 +259,6 @@ static int submit6_match (const struct ip6t_entry_match *match, return (0); } - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "ip6tables", sizeof (vl.plugin)); status = ssnprintf (vl.plugin_instance, sizeof (vl.plugin_instance), @@ -317,7 +316,6 @@ static int submit_match (const struct ipt_entry_match *match, return (0); } - sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "iptables", sizeof (vl.plugin)); status = ssnprintf (vl.plugin_instance, sizeof (vl.plugin_instance),