Changeset 14150


Ignore:
Timestamp:
03/24/10 17:39:48 (3 years ago)
Author:
BrainSlayer
Message:

more wireless mac fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/visuals/wireless.c

    r13630 r14150  
    6464} *dhcp_lease_table; 
    6565 
    66 char *wl_filter_mac_get(char *ifname, char *type, int which) 
     66char *wl_filter_mac_get(char *ifname2, char *type, int which) 
    6767{ 
    6868        static char word[50]; 
    6969        char *wordlist, *next; 
    7070        int temp; 
     71        char ifname[32]; 
     72        strcpy(ifname,ifname2); 
     73        rep(ifname,'X',','); 
    7174 
    7275        if (!strcmp(nvram_safe_get("wl_active_add_mac"), "1")) { 
     
    383386        char line[80]; 
    384387        int dhcp_table_count; 
    385         char *type, *ifname; 
    386  
    387         ejArgs(argc, argv, "%s %s", &type, &ifname); 
    388  
     388        char *type, *ifname2; 
     389        char ifname[32]; 
     390        ejArgs(argc, argv, "%s %s", &type, &ifname2); 
     391        strcpy(ifname,ifname2); 
     392        rep(ifname,'X','.'); 
    389393        if (!strcmp(type, "online")) { 
    390394                for (i = 0; i < MAX_LEASES; i++) {      // init value 
Note: See TracChangeset for help on using the changeset viewer.