svn commit: r191693 - head/sbin/ifconfig

Andrew Thompson thompsa at FreeBSD.org
Thu Apr 30 14:31:53 UTC 2009


Author: thompsa
Date: Thu Apr 30 14:31:52 2009
New Revision: 191693
URL: http://svn.freebsd.org/changeset/base/191693

Log:
  Do no spam the ifconfig output for the aggregated interface with 'laggdev laggX'.

Modified:
  head/sbin/ifconfig/iflagg.c

Modified: head/sbin/ifconfig/iflagg.c
==============================================================================
--- head/sbin/ifconfig/iflagg.c	Thu Apr 30 14:25:44 2009	(r191692)
+++ head/sbin/ifconfig/iflagg.c	Thu Apr 30 14:31:52 2009	(r191693)
@@ -167,8 +167,7 @@ lagg_status(int s)
 			for (i = 0; i < (sizeof(lpr) / sizeof(lpr[0])); i++)
 				printf("\t\tlaggproto %s\n", lpr[i].lpr_name);
 		}
-	} else if (isport)
-		printf("\tlagg: laggdev %s\n", rp.rp_ifname);
+	}
 }
 
 static struct cmd lagg_cmds[] = {


More information about the svn-src-all mailing list