From owner-svn-src-projects@FreeBSD.ORG Tue May 19 17:14:52 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D5491065674; Tue, 19 May 2009 17:14:52 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8C89C8FC08; Tue, 19 May 2009 17:14:52 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4JHEqcX004318; Tue, 19 May 2009 17:14:52 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4JHEqTZ004317; Tue, 19 May 2009 17:14:52 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <200905191714.n4JHEqTZ004317@svn.freebsd.org> From: Rui Paulo Date: Tue, 19 May 2009 17:14:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192394 - projects/mesh11s/sbin/ifconfig X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 17:14:52 -0000 Author: rpaulo Date: Tue May 19 17:14:52 2009 New Revision: 192394 URL: http://svn.freebsd.org/changeset/base/192394 Log: Use a similar style for printing mesh link state. Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sbin/ifconfig/ifieee80211.c Modified: projects/mesh11s/sbin/ifconfig/ifieee80211.c ============================================================================== --- projects/mesh11s/sbin/ifconfig/ifieee80211.c Tue May 19 17:10:57 2009 (r192393) +++ projects/mesh11s/sbin/ifconfig/ifieee80211.c Tue May 19 17:14:52 2009 (r192394) @@ -3260,13 +3260,12 @@ list_stations(int s) , getflags(si->isi_state) ); printies(cp + si->isi_ie_off, si->isi_ie_len, 24); - printmimo(&si->isi_mimo); - printf("\n"); if (verbose && opmode == IEEE80211_M_MBSS) - printf("\tMesh Peer ID: 0x%x, Local ID: 0x%x, " - "Link state: %s\n", si->isi_peerid, - si->isi_localid, + printf(" MESHLINK", si->isi_peerid, si->isi_localid, mesh_linkstate_string(si->isi_peerstate)); + printmimo(&si->isi_mimo); + printf("\n"); cp += si->isi_len, len -= si->isi_len; } while (len >= sizeof(struct ieee80211req_sta_info)); }