Project

General

Profile

patch-src_igmpproxy.c

Jorge M. Oliveira, 09/04/2016 02:49 PM

 
1
--- src/igmpproxy.c.orig
2
+++ src/igmpproxy.c
3
@@ -186,8 +186,10 @@ int igmpProxyInit() {
4
                     }
5
                 }
6
 
7
-                addVIF( Dp );
8
-                vifcount++;
9
+                if (Dp->state != IF_STATE_DISABLED) {
10
+                    addVIF( Dp );
11
+                    vifcount++;
12
+                }
13
             }
14
         }
15