Changeset 11847


Ignore:
Timestamp:
04/06/09 20:00:07 (4 years ago)
Author:
BrainSlayer
Message:

fixup wrong assignment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/sysinit/sysinit-broadcom.c

    r11846 r11847  
    20692069                     nvram_safe_get( "vlan0ports" ), vlan7ports ); 
    20702070            if (!nvram_match("dtag_vlan8","1")) 
     2071                { 
    20712072                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                    } 
    20822085                } 
    20832086        } 
Note: See TracChangeset for help on using the changeset viewer.