X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fiptables.c;h=3062a0cd400ae48dad430efdd9a831aab2500a69;hb=ce545d5c78ac284081d914afdccc8dd209f41606;hp=fb887da6ed28d4f01703ca3f93ffa7e7faba9fad;hpb=fe9ba13c8866ada19f7a347f3757d4c740613cdb;p=collectd.git diff --git a/src/iptables.c b/src/iptables.c index fb887da6..3062a0cd 100644 --- a/src/iptables.c +++ b/src/iptables.c @@ -89,7 +89,7 @@ static int chain_num = 0; static int iptables_config (const char *key, const char *value) { /* int ip_value; */ - protocol_version_t ip_version; + protocol_version_t ip_version = 0; if (strcasecmp (key, "Chain") == 0) ip_version = IPV4;