Changeset 11337


Ignore:
Timestamp:
01/08/09 11:46:53 (4 years ago)
Author:
BrainSlayer
Message:

more safe

Location:
src/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/visuals/dd-wrt.c

    r11335 r11337  
    58035803} MACHTTRANSMIT_SETTING; 
    58045804 
     5805 
    58055806typedef struct _RT_802_11_MAC_ENTRY 
    58065807{ 
     
    58695870        ignore = 1; 
    58705871    } 
    5871     if( !ignore ) 
     5872 
     5873    if( !ignore && table.Num<128) 
    58725874        for( i = 0; i < table.Num; i++ ) 
    58735875        { 
     
    58765878            cnt++; 
    58775879            char mac[32]; 
    5878  
    58795880            strcpy( mac, ieee80211_ntoa( table.Entry[i].Addr ) ); 
    58805881            if( nvram_match( "maskmac", "1" ) && macmask ) 
  • src/router/libutils/wl.c

    r11336 r11337  
    414414        free( sta ); 
    415415    } 
    416     if( !ignore ) 
     416    if( !ignore && table.Num<128) 
    417417        for( i = 0; i < table.Num; i++ ) 
    418418        { 
     
    480480        free( sta ); 
    481481    } 
    482     if( !ignore ) 
     482    if( !ignore && table.Num<128) 
    483483        for( i = 0; i < table.Num; i++ ) 
    484484        { 
Note: See TracChangeset for help on using the changeset viewer.