1 From 85e240727305b156097ee7aa0f0c4473a136291f Mon Sep 17 00:00:00 2001
2 From: Constantin Baranov <const@mimas.ru>
3 Date: Tue, 23 Feb 2010 21:08:02 +0400
4 Subject: [PATCH] Change default interface state to disabled (wrt #2945877)
8 src/igmpproxy.c | 6 ++++--
9 2 files changed, 5 insertions(+), 3 deletions(-)
11 diff --git a/src/ifvc.c b/src/ifvc.c
12 index 545b3b4..9d7ee97 100644
15 @@ -139,7 +139,7 @@ void buildIfVc() {
16 IfDescEp->allowednets->subnet_addr = subnet;
18 // Set the default params for the IF...
19 - IfDescEp->state = IF_STATE_DOWNSTREAM;
20 + IfDescEp->state = IF_STATE_DISABLED;
21 IfDescEp->robustness = DEFAULT_ROBUSTNESS;
22 IfDescEp->threshold = DEFAULT_THRESHOLD; /* ttl limit */
23 IfDescEp->ratelimit = DEFAULT_RATELIMIT;
24 diff --git a/src/igmpproxy.c b/src/igmpproxy.c
25 index 1ece15a..35000c7 100644
28 @@ -186,8 +186,10 @@ int igmpProxyInit() {
34 + if (Dp->state != IF_STATE_DISABLED) {