From patchwork Tue May 20 09:37:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dichtel X-Patchwork-Id: 350618 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 07076140084 for ; Tue, 20 May 2014 19:37:55 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752769AbaETJhu (ORCPT ); Tue, 20 May 2014 05:37:50 -0400 Received: from 33.106-14-84.ripe.coltfrance.com ([84.14.106.33]:45243 "EHLO proxy.6wind.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751815AbaETJht (ORCPT ); Tue, 20 May 2014 05:37:49 -0400 Received: from schnaps.dev.6wind.com (unknown [10.16.0.249]) by proxy.6wind.com (Postfix) with ESMTPS id 9E76B28627; Tue, 20 May 2014 11:37:45 +0200 (CEST) Received: from root by schnaps.dev.6wind.com with local (Exim 4.80) (envelope-from ) id 1WmgUS-0001of-VJ; Tue, 20 May 2014 11:37:44 +0200 From: Nicolas Dichtel To: shemminger@vyatta.com Cc: netdev@vger.kernel.org, Nicolas Dichtel Subject: [PATCH iproute2 2/2] bridge: display IFLA_BRPORT_UNICAST_FLOOD value Date: Tue, 20 May 2014 11:37:30 +0200 Message-Id: <1400578650-6917-2-git-send-email-nicolas.dichtel@6wind.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1400578650-6917-1-git-send-email-nicolas.dichtel@6wind.com> References: <1400578650-6917-1-git-send-email-nicolas.dichtel@6wind.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Nicolas Dichtel --- bridge/link.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridge/link.c b/bridge/link.c index 1632bc16803f..ca4a6023251f 100644 --- a/bridge/link.c +++ b/bridge/link.c @@ -188,6 +188,9 @@ int print_linkinfo(const struct sockaddr_nl *who, if (prtb[IFLA_BRPORT_LEARNING]) print_onoff(fp, "learning", rta_getattr_u8(prtb[IFLA_BRPORT_LEARNING])); + if (prtb[IFLA_BRPORT_UNICAST_FLOOD]) + print_onoff(fp, "unicast_flood", + rta_getattr_u8(prtb[IFLA_BRPORT_UNICAST_FLOOD])); } } else print_portstate(fp, rta_getattr_u8(tb[IFLA_PROTINFO]));