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: 9401719 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5E43E60231 for ; Fri, 28 Oct 2016 09:47:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B4DE2A6FA for ; Fri, 28 Oct 2016 09:47:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 500392A6F7; Fri, 28 Oct 2016 09:47:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F66A2A6F7 for ; Fri, 28 Oct 2016 09:47:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936214AbcJ1Jr2 (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: linux-wpan-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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)