Changeset 11295


Ignore:
Timestamp:
12/31/08 18:25:27 (4 years ago)
Author:
BrainSlayer
Message:

usually better

Location:
src/router/services
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/networking/network.c

    r11294 r11295  
    27632763        { 
    27642764            ioctl( s, SIOCSIFHWADDR, &ifr ); 
    2765             eval("ifconfig",wan_ifname,"promisc"); // set wan to promisc, since we now have usually different mac addresses on vlans 
     2765//          eval("ifconfig",wan_ifname,"promisc"); // set wan to promisc, since we now have usually different mac addresses on vlans 
    27662766        } 
    27672767#endif 
  • src/router/services/sysinit/sysinit-ca8.c

    r11292 r11295  
    127127    if( getRouterBrand(  ) == ROUTER_BOARD_CA8PRO ) 
    128128    { 
    129         eval( "ifconfig", "eth0", "up" );       // required for vlan config 
     129        eval( "ifconfig", "eth0", "up","promisc" );     // required for vlan config 
    130130        eval( "/sbin/vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD" ); 
    131131        eval( "/sbin/vconfig", "add", "eth0", "0" ); 
  • src/router/services/sysinit/sysinit-dir300.c

    r11292 r11295  
    256256    if( getRouterBrand(  ) == ROUTER_BOARD_FONERA2200 ) 
    257257    { 
    258         eval( "ifconfig", "eth0", "up" );       // required for vlan config 
     258        eval( "ifconfig", "eth0", "up","promisc" );     // required for vlan config 
    259259        eval( "/sbin/vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD" ); 
    260260        eval( "/sbin/vconfig", "add", "eth0", "0" ); 
  • src/router/services/sysinit/sysinit-fonera.c

    r11292 r11295  
    152152    if( getRouterBrand(  ) == ROUTER_BOARD_FONERA2200 ) 
    153153    { 
    154         eval( "ifconfig", "eth0", "up" );       // required for vlan config 
     154        eval( "ifconfig", "eth0", "up","promisc" );     // required for vlan config 
    155155        eval( "/sbin/vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD" ); 
    156156        eval( "/sbin/vconfig", "add", "eth0", "0" ); 
  • src/router/services/sysinit/sysinit-rcaa01.c

    r11292 r11295  
    141141    { 
    142142        insmod( "mvswitch" ); 
    143         eval( "ifconfig", "eth0", "up" );       // required for vlan config 
     143        eval( "ifconfig", "eth0", "up","promisc" );     // required for vlan config 
    144144        eval( "/sbin/vconfig", "set_name_type", "VLAN_PLUS_VID_NO_PAD" ); 
    145145        eval( "/sbin/vconfig", "add", "eth0", "0" ); 
Note: See TracChangeset for help on using the changeset viewer.