Changeset 13221

Show
Ignore:
Timestamp:
11/12/2009 03:02:05 AM (4 months ago)
Author:
BrainSlayer
Message:

correct detection

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/router/libutils/utils.c

    r13184 r13221  
    556556                        return ROUTER_BOARD_GATEWORX; 
    557557                } 
    558                 if (!strncmp(gwid, "GW2348-2", 6)) { 
     558                if (!strncmp(gwid, "GW2348-2", 8)) { 
    559559                        setRouter("Gateworks Avila GW2348-2"); 
    560560                        return ROUTER_BOARD_GATEWORX; 
    561561                } 
    562                 if (!strncmp(gwid, "GW2348-4", 6)) { 
     562                if (!strncmp(gwid, "GW2348-4", 8)) { 
    563563                        setRouter("Gateworks Avila GW2348-4"); 
    564564                        return ROUTER_BOARD_GATEWORX;