Changeset 2079

Show
Ignore:
Timestamp:
02/06/07 14:35:58 (2 years ago)
Author:
kelmo
Message:

wlanconfig is printing the wrong member of the structure ifr when it wants to
print the name of the newly created interface. The kernel returns the new name
in ifr->ifr_name. (Well it will when bug #946 is fixed)

Signed-off-by: Andrew Lunn <andrew.lunn@ascom.ch>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tools/wlanconfig.c

    r1849 r2079  
    179179                ifr.ifr_data = (void *) &cp; 
    180180                vap_create(&ifr); 
    181                 printf("%s\n", cp.icp_name); 
     181                printf("%s\n", ifr.ifr_name); 
    182182        } else if (streq(cmd, "destroy")) { 
    183183                vap_destroy(ifname);