summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_LOG.c
diff options
context:
space:
mode:
authorMarc Boucher <marc@mbsi.ca>2001-09-08 02:16:51 +0000
committerMarc Boucher <marc@mbsi.ca>2001-09-08 02:16:51 +0000
commit459357fa4339716810009fea41209ea47460ae2f (patch)
tree78ef991f460ec9520dbaf5006223e512cf687142 /extensions/libipt_LOG.c
parent3a5026fd20f0c3665bf29f46596dd60792e7e5af (diff)
Yet another set of string_to_number() fixes.
Diffstat (limited to 'extensions/libipt_LOG.c')
-rw-r--r--extensions/libipt_LOG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_LOG.c b/extensions/libipt_LOG.c
index f71f4bf8..c7673d91 100644
--- a/extensions/libipt_LOG.c
+++ b/extensions/libipt_LOG.c
@@ -66,7 +66,7 @@ static struct ipt_log_names ipt_log_names[]
static u_int8_t
parse_level(const char *level)
{
- unsigned int lev;
+ unsigned int lev = -1;
if (string_to_number(level, 0, 7, &lev) == -1) {
unsigned int i = 0;