ethereal developers,
pls find attached a patch to support name-resolution
for the IS_Neighbor TLV for IS-IS;
/hannes
Index: packet-isis-hello.c
===================================================================
RCS file: /cvsroot/ethereal/packet-isis-hello.c,v
retrieving revision 1.23
diff -u -r1.23 packet-isis-hello.c
--- packet-isis-hello.c 2001/12/20 07:33:21 1.23
+++ packet-isis-hello.c 2001/12/26 11:00:22
@@ -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 @@
*/
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;
Index: packet-isis-lsp.c
===================================================================
RCS file: /cvsroot/ethereal/packet-isis-lsp.c,v
retrieving revision 1.22
diff -u -r1.22 packet-isis-lsp.c
--- packet-isis-lsp.c 2001/12/20 07:33:21 1.22
+++ packet-isis-lsp.c 2001/12/26 11:00:29
@@ -90,7 +90,7 @@
{ ISIS_LSP_TYPE_UNUSED0, "Unused 0x0 (invalid)"},
{ ISIS_LSP_TYPE_LEVEL_1, "Level 1 IS"},
{ ISIS_LSP_TYPE_UNUSED2, "Unused 0x2 (invalid)"},
- { ISIS_LSP_TYPE_LEVEL_2, "Level 2 IS"},
+ { ISIS_LSP_TYPE_LEVEL_2, "Level 1 and Level 2 IS"},
{ 0, NULL } };
/*