Changeset 11847
- Timestamp:
- 04/06/09 20:00:07 (4 years ago)
- File:
-
- 1 edited
-
src/router/services/sysinit/sysinit-broadcom.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/sysinit/sysinit-broadcom.c
r11846 r11847 2069 2069 nvram_safe_get( "vlan0ports" ), vlan7ports ); 2070 2070 if (!nvram_match("dtag_vlan8","1")) 2071 { 2071 2072 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/0/ports",nvram_safe_get( "vlan0ports" ), eth ); 2072 start_setup_vlans( ); 2073 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/1/ports", "", 2074 eth ); 2075 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/7/ports", 2076 vlan7ports, eth ); 2077 if (nvram_match("dtag_vlan8","1")) 2078 { 2079 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/0/ports",vlanswitch, eth ); 2080 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/8/ports",vlan7ports, eth ); 2081 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/3/ports",vlantvport, eth ); 2073 start_setup_vlans( ); 2074 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/1/ports", "",eth ); 2075 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/7/ports",vlan7ports, eth ); 2076 }else{ 2077 if (nvram_match("dtag_vlan8","1")) 2078 { 2079 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/0/ports",vlanswitch, eth ); 2080 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/1/ports", "",eth ); 2081 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/3/ports",vlantvport, eth ); 2082 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/7/ports",vlan7ports, eth ); 2083 sysprintf( "echo \"%s\" > /proc/switch/%s/vlan/8/ports",vlan7ports, eth ); 2084 } 2082 2085 } 2083 2086 }
Note: See TracChangeset
for help on using the changeset viewer.
