Changeset 12191


Ignore:
Timestamp:
05/21/09 16:27:39 (4 years ago)
Author:
BrainSlayer
Message:

validate this board to prevent missflashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/libutils/utils.c

    r12190 r12191  
    685685    char mac[32]; 
    686686    getBoardMAC(mac); 
    687     if (!strncmp(mac,"00:19:3B",8)) 
     687    if (!strncmp(mac,"00:19:3B",8) || !strncmp(mac,"00:02:6F",8) || !strncmp(mac,"00:15:6D",8)) 
    688688        { 
    689689        fprintf(stderr,"unsupported board\n"); 
     
    739739    char mac[32]; 
    740740    getBoardMAC(mac); 
    741     if (!strncmp(mac,"00:19:3B",8)) 
     741    if (!strncmp(mac,"00:19:3B",8) || !strncmp(mac,"00:02:6F",8) || !strncmp(mac,"00:15:6D",8)) 
    742742        { 
    743743        fprintf(stderr,"unsupported board\n"); 
Note: See TracChangeset for help on using the changeset viewer.