netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@medozas.de>
To: stephen.hemminger@vyatta.com
Cc: netdev@vger.kernel.org
Subject: [PATCH] ip: correctly report 802.15.4 link type
Date: Sun, 25 Jul 2010 22:28:02 +0200	[thread overview]
Message-ID: <1280089683-12020-2-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1280089683-12020-1-git-send-email-jengelh@medozas.de>

Up until now, the "hardwpan" devices were displayed as link/[804].

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 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
-- 
1.7.1


  reply	other threads:[~2010-07-25 20:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-25 20:28 iproute2: 802.15.4 reporting Jan Engelhardt
2010-07-25 20:28 ` Jan Engelhardt [this message]
2010-07-26 16:35   ` [PATCH] ip: correctly report 802.15.4 link type Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2010-06-26 23:51 Stephen Hemminger
2010-06-27  7:01 ` Jan Engelhardt
2010-06-25 14:01 Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1280089683-12020-2-git-send-email-jengelh@medozas.de \
    --to=jengelh@medozas.de \
    --cc=netdev@vger.kernel.org \
    --cc=stephen.hemminger@vyatta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).