Changeset 8955 for src/router/shared/utils.c
- Timestamp:
- 02/06/08 19:28:17 (5 years ago)
- File:
-
- 1 edited
-
src/router/shared/utils.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/router/shared/utils.c
r8945 r8955 3978 3978 return loopmask; 3979 3979 } 3980 int doMultiCast(void) 3981 { 3982 char name[80], *next; 3983 int ifcount; 3984 if (nvram_match ("wan_proto", "disabled")) 3985 return 0; 3986 if (nvram_match ("block_multicast", "0")) 3987 { 3988 ifcount++; 3989 } 3990 foreach (name, nvram_safe_get ("lan_ifnames"), next) 3991 { 3992 if (nvram_nmatch ("0", "%s_bridged", name) 3993 && nvram_nmatch ("1", "%s_multicast", name)) 3994 { 3995 ifcount++; 3996 } 3997 } 3998 return ifcount; 3999 }
Note: See TracChangeset
for help on using the changeset viewer.
