diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-09-02 22:10:17 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-09-02 22:10:17 +0000 |
commit | 2939f6ffb4159fff18eae2dc708fc744673b27c0 (patch) | |
tree | 5c763fde76d6d067714fb2caa8347983e7ff56de /epan/osi-utils.c | |
parent | b3e96ff0f12253faff61700bb59018befb3deebc (diff) |
From Hannes Gredler:
open up a new subtree for dissecting the lsp-entry TLV;
remove the isis_lsp_decode_lsp_id() routine, as the same
functionality is better served using print_system_id();
fix a small bug in print_system_id().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6169 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/osi-utils.c')
-rw-r--r-- | epan/osi-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/osi-utils.c b/epan/osi-utils.c index 73dd44f873..568338b2ca 100644 --- a/epan/osi-utils.c +++ b/epan/osi-utils.c @@ -2,7 +2,7 @@ * Routines for ISO/OSI network and transport protocol packet disassembly * Main entrance point and common functions * - * $Id: osi-utils.c,v 1.9 2002/08/29 18:52:54 guy Exp $ + * $Id: osi-utils.c,v 1.10 2002/09/02 22:10:17 guy Exp $ * Laurent Deniel <deniel@worldnet.fr> * Ralf Schneider <Ralf.Schneider@t-online.de> * @@ -84,10 +84,10 @@ gchar *print_system_id( const guint8 *buffer, int length ) { buffer[2], buffer[3], buffer[4], buffer[5] ); if ( ( 7 == length ) || ( 8 == length )) { - sprintf( cur, ".%02x", buffer[6] ); + cur += sprintf( cur, ".%02x", buffer[6] ); } if ( 8 == length ) { - sprintf( cur, "-%02x", buffer[7] ); + cur += sprintf( cur, "-%02x", buffer[7] ); } } else { |