diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-09-02 22:10:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-09-02 22:10:17 +0000 |
commit | 46ac8aa4bd52836cae9ab0d5130c4f1e2ddbde83 (patch) | |
tree | 5c763fde76d6d067714fb2caa8347983e7ff56de /epan/osi-utils.c | |
parent | da5d4a70f972ac171df0ac2df63f9a6fca671507 (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().
svn path=/trunk/; revision=6169
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 { |