diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-12-26 21:37:21 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-12-26 21:37:21 +0000 |
commit | e3477fa51cf5b6a6be0b0809f69a5937a4e17d8b (patch) | |
tree | aff52d092022b7a44fc41d20e4f99fdf1acddf66 /packet-isis-hello.c | |
parent | f5bed3ac175588a77a391bbd85bc5a58fb0af0df (diff) |
From Hannes Gredler:
System IDs in IS neighbor CLVs in Hello PDUs are assumed to be
MAC addresses, so use "get_ether_name()" on them to try to
resolve them to host names.
Properly label IS type values of ISIS_LSP_TYPE_LEVEL_2 as being
"Level 1 and Level 2 IS".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4451 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-isis-hello.c')
-rw-r--r-- | packet-isis-hello.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-isis-hello.c b/packet-isis-hello.c index 061ff9db27..0aff4520a1 100644 --- a/packet-isis-hello.c +++ b/packet-isis-hello.c @@ -1,7 +1,7 @@ /* packet-isis-hello.c * Routines for decoding isis hello packets and their CLVs * - * $Id: packet-isis-hello.c,v 1.23 2001/12/20 07:33:21 guy Exp $ + * $Id: packet-isis-hello.c,v 1.24 2001/12/26 21:37:21 guy Exp $ * Stuart Stanley <stuarts@mxmail.net> * * Ethereal - Network traffic analyzer @@ -39,6 +39,7 @@ #include "packet-isis.h" #include "packet-isis-clv.h" #include "packet-isis-hello.h" +#include "epan/resolv.h" /* hello packets */ static int hf_isis_hello_circuit_reserved = -1; @@ -548,7 +549,7 @@ dissect_hello_is_neighbors_clv(tvbuff_t *tvb, packet_info *pinfo, */ if ( tree ) { proto_tree_add_text ( tree, tvb, offset, 6, - "IS Neighbor: %s", print_system_id( tvb_get_ptr(tvb, offset, 6), 6 ) ); + "IS Neighbor: %s", get_ether_name( tvb_get_ptr(tvb, offset, 6)) ); } offset += 6; length -= 6; |