aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2002-09-02 20:07:14 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2002-09-02 20:07:14 +0000
commit60c1ef970b2d96471d3fa7ae9610d75a2c0ee92d (patch)
tree251099b5b4224aa52b2e25c8481a18b682a6ba4f /usr.sbin/inetd
parentd0c55c69c9bfc1a2e4ae6ea9337014f0891d3770 (diff)
Notes
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/inetd.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 7c4980134ca4..b8f4fc42edbc 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -1581,15 +1581,22 @@ getconfigent(void)
static char TCPMUX_TOKEN[] = "tcpmux/";
#define MUX_LEN (sizeof(TCPMUX_TOKEN)-1)
#ifdef IPSEC
- char *policy = NULL;
+ char *policy;
#endif
- int v4bind = 0;
+ int v4bind;
#ifdef INET6
- int v6bind = 0;
+ int v6bind;
#endif
int i;
+#ifdef IPSEC
+ policy = NULL;
+#endif
more:
+ v4bind = 0;
+#ifdef INET6
+ v6bind = 0;
+#endif
while ((cp = nextline(fconfig)) != NULL) {
#ifdef IPSEC
/* lines starting with #@ is not a comment, but the policy */