]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
print better interface names
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 19 Apr 2009 13:47:18 +0000 (15:47 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Sun, 19 Apr 2009 13:47:18 +0000 (15:47 +0200)
util.c

diff --git a/util.c b/util.c
index 0a0b43295d123fa56e821243062ba14109fde976..dcb3de610352d0516895a0b8fd065f6075ced784 100644 (file)
--- a/util.c
+++ b/util.c
@@ -48,11 +48,11 @@ int mac_addr_a2n(unsigned char *mac_addr, char *arg)
 static const char *ifmodes[NL80211_IFTYPE_MAX + 1] = {
        "unspecified",
        "IBSS",
-       "Station",
+       "managed",
        "AP",
-       "AP(VLAN)",
+       "AP/VLAN",
        "WDS",
-       "Monitor",
+       "monitor",
        "mesh point"
 };