From 934434b5102ca047e6a6bbb44086e18dedaf703c Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Thu, 30 Apr 2009 14:31:52 +0000 Subject: [PATCH] Do no spam the ifconfig output for the aggregated interface with 'laggdev laggX'. --- sbin/ifconfig/iflagg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbin/ifconfig/iflagg.c b/sbin/ifconfig/iflagg.c index 5eaea98b34e1..82e6ccb53a49 100644 --- a/sbin/ifconfig/iflagg.c +++ b/sbin/ifconfig/iflagg.c @@ -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[] = {