From patchwork Fri Jun 25 14:01:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Engelhardt X-Patchwork-Id: 56912 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 B07F2B6F15 for ; Sat, 26 Jun 2010 00:01:24 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756386Ab0FYOBK (ORCPT ); Fri, 25 Jun 2010 10:01:10 -0400 Received: from borg.medozas.de ([188.40.89.202]:52758 "EHLO borg.medozas.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756281Ab0FYOBH (ORCPT ); Fri, 25 Jun 2010 10:01:07 -0400 Received: by borg.medozas.de (Postfix, from userid 25121) id 65274F0C32A80; Fri, 25 Jun 2010 16:01:06 +0200 (CEST) From: Jan Engelhardt To: stephen.hemminger@vyatta.com Cc: netdev@vger.kernel.org Subject: [PATCH] ip: correctly report 802.15.4 link type Date: Fri, 25 Jun 2010 16:01:05 +0200 Message-Id: <1277474466-5873-1-git-send-email-jengelh@medozas.de> X-Mailer: git-send-email 1.7.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Up until now, the "hardwpan" devices were displayed as link/[804]. Signed-off-by: Jan Engelhardt --- lib/ll_types.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/lib/ll_types.c b/lib/ll_types.c index 846cdb0..1cc46b6 100644 --- a/lib/ll_types.c +++ b/lib/ll_types.c @@ -125,6 +125,9 @@ __PF(IEEE80211_PRISM,ieee802.11/prism) #ifdef ARPHRD_IEEE80211_RADIOTAP __PF(IEEE80211_RADIOTAP,ieee802.11/radiotap) #endif +#ifdef ARPHRD_IEEE802154 +__PF(IEEE802154, ieee802.15.4) +#endif #ifdef ARPHRD_NONE __PF(NONE, none) #endif