PERFORCE change 76639 for review

Sam Leffler sam at FreeBSD.org
Fri May 6 15:46:20 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=76639

Change 76639 by sam at sam_ebb on 2005/05/06 22:46:01

	fixup default device names

Affected files ...

.. //depot/projects/vap/tools/tools/ath/80211debug.c#3 edit
.. //depot/projects/vap/tools/tools/ath/athstats.c#4 edit

Differences ...

==== //depot/projects/vap/tools/tools/ath/80211debug.c#3 (text+ko) ====

@@ -139,7 +139,7 @@
 int
 main(int argc, char *argv[])
 {
-	const char *ifname = "ath0";
+	const char *ifname = "wlan0";
 	const char *cp, *tp;
 	const char *sep;
 	int c, op, i;

==== //depot/projects/vap/tools/tools/ath/athstats.c#4 (text+ko) ====

@@ -248,7 +248,7 @@
 		strncpy(ifr.ifr_name, argv[2], sizeof (ifr.ifr_name));
 		argc -= 2, argv += 2;
 	} else
-		strncpy(ifr.ifr_name, "wlan0", sizeof (ifr.ifr_name));
+		strncpy(ifr.ifr_name, "ath0", sizeof (ifr.ifr_name));
 	if (argc > 1) {
 		u_long interval = strtoul(argv[1], NULL, 0);
 		int line, omask;


More information about the p4-projects mailing list