Changeset 9335
- Timestamp:
- 03/21/08 20:05:38 (5 years ago)
- File:
-
- 1 edited
-
src/router/services/sysinit/sysinit-broadcom.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/sysinit/sysinit-broadcom.c
r9328 r9335 1260 1260 if (nvram_match ("vdsl_state", "1") && enable) 1261 1261 donothing = 1; 1262 if ( nvram_match ("vdsl_state", "0") && !enable)1262 if ((nvram_match ("vdsl_state", "0") || nvram_match ("vdsl_state", "")) && !enable) 1263 1263 donothing = 1; 1264 1264 if (enable) … … 1338 1338 for (i = 0; i < 16; i++) 1339 1339 { 1340 sprintf (tmp, "echo %s > /proc/switch/%s/vlan/%d/ports", "", 1341 eth, i); 1340 sprintf (tmp, "echo %s > /proc/switch/%s/vlan/%d/ports", "",eth, i); 1342 1341 system2 (tmp); 1343 1342 } … … 1348 1347 if (nvram_get (vlanb) == NULL || nvram_match (vlanb, "")) 1349 1348 continue; 1350 sprintf (tmp, "echo %s > /proc/switch/%s/vlan/%d/ports", 1351 nvram_safe_get (vlanb), eth, i); 1349 sprintf (tmp, "echo %s > /proc/switch/%s/vlan/%d/ports",nvram_safe_get (vlanb), eth, i); 1352 1350 system2 (tmp); 1353 1351 }
Note: See TracChangeset
for help on using the changeset viewer.
