From patchwork Fri Oct 28 09:42:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 688318 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 3t4zSk178lz9s8x for ; Fri, 28 Oct 2016 20:47:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936602AbcJ1Jr2 (ORCPT ); Fri, 28 Oct 2016 05:47:28 -0400 Received: from proxima.lasnet.de ([78.47.171.185]:59532 "EHLO proxima.lasnet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936169AbcJ1Jr1 (ORCPT ); Fri, 28 Oct 2016 05:47:27 -0400 X-Greylist: delayed 313 seconds by postgrey-1.27 at vger.kernel.org; Fri, 28 Oct 2016 05:47:26 EDT Received: from localhost.localdomain (p20030048091EED513252CBFFFE54190F.dip0.t-ipconnect.de [IPv6:2003:48:91e:ed51:3252:cbff:fe54:190f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id 2E59DC0A3A; Fri, 28 Oct 2016 11:42:10 +0200 (CEST) From: Stefan Schmidt To: Stephen Hemminger Cc: netdev@vger.kernel.org, linux-wpan@vger.kernel.org, Stefan Schmidt Subject: [PATCH iproute2] ip: update link types to show 6lowpan and ieee802.15.4 monitor Date: Fri, 28 Oct 2016 11:42:03 +0200 Message-Id: <1477647723-14641-1-git-send-email-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.5.5 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Both types have been missing here and thus ip always showed only the numbers. Based on a suggestion from Alexander Aring. Signed-off-by: Stefan Schmidt --- lib/ll_types.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ll_types.c b/lib/ll_types.c index 2c5bf8b..eca617f 100644 --- a/lib/ll_types.c +++ b/lib/ll_types.c @@ -100,11 +100,13 @@ __PF(IEEE80211,ieee802.11) __PF(IEEE80211_PRISM,ieee802.11/prism) __PF(IEEE80211_RADIOTAP,ieee802.11/radiotap) __PF(IEEE802154, ieee802.15.4) +__PF(IEEE802154_MONITOR, ieee802.15.4/monitor) __PF(PHONET, phonet) __PF(PHONET_PIPE, phonet_pipe) __PF(CAIF, caif) __PF(IP6GRE, gre6) __PF(NETLINK, netlink) +__PF(6LOWPAN, 6lowpan) __PF(NONE, none) __PF(VOID,void)