summaryrefslogtreecommitdiff
path: root/sys/net/pf_lb.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-01-06 01:49:46 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-01-06 01:49:46 +0000
commit7e613b51a04a2a19c417cd7d6e6ad9611d52fbef (patch)
tree32aebef8c6e567ba99a10afef08cd4f52f61830d /sys/net/pf_lb.c
parentbec32d11f8ef49df54451e98701d94a28dbf6bda (diff)
init a potentially uninitialised var in pf_postprocess_addr
ok mikeb@ henning@
Diffstat (limited to 'sys/net/pf_lb.c')
-rw-r--r--sys/net/pf_lb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_lb.c b/sys/net/pf_lb.c
index 29cd783667a..0d17256b6d5 100644
--- a/sys/net/pf_lb.c
+++ b/sys/net/pf_lb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_lb.c,v 1.40 2014/12/19 17:14:40 tedu Exp $ */
+/* $OpenBSD: pf_lb.c,v 1.41 2015/01/06 01:49:45 jsg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -818,7 +818,7 @@ pf_postprocess_addr(struct pf_state *cur)
struct pf_state_key *sks;
struct pf_pool rpool;
struct pf_addr lookup_addr;
- int slbcount;
+ int slbcount = -1;
nr = cur->natrule.ptr;