diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-04-30 14:31:52 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-04-30 14:31:52 +0000 |
commit | bdc2433919b5cbbf33f7febfbd2fc4c2bffe7d20 (patch) | |
tree | 71c13a9b3e747cc6737c428f6ff0531e77fa7fe9 /sbin | |
parent | f55b83f9f421359d17e270b990f81bb041172fad (diff) | |
download | FreeBSD-src-bdc2433919b5cbbf33f7febfbd2fc4c2bffe7d20.zip FreeBSD-src-bdc2433919b5cbbf33f7febfbd2fc4c2bffe7d20.tar.gz |
Do no spam the ifconfig output for the aggregated interface with 'laggdev laggX'.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/iflagg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/ifconfig/iflagg.c b/sbin/ifconfig/iflagg.c index 5eaea98..82e6ccb 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[] = { |