summaryrefslogtreecommitdiff
path: root/epan/osi-utils.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-06-28 22:43:49 +0000
committerGuy Harris <guy@alum.mit.edu>2002-06-28 22:43:49 +0000
commit96fad4b20a2206bbe15fbb177354a061cce58920 (patch)
tree454b36865fc2d975cc03627921ec01c59f87bad7 /epan/osi-utils.c
parentfb7638472fad661be3db7c0bd810619117d57b23 (diff)
downloadwireshark-96fad4b20a2206bbe15fbb177354a061cce58920.tar.gz
From Hannes Gredler: fix display of OSI system IDs to use a dot rather
than a dash before the PSN byte; the dash is typically only used to demarcate the fragment. svn path=/trunk/; revision=5785
Diffstat (limited to 'epan/osi-utils.c')
-rw-r--r--epan/osi-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/osi-utils.c b/epan/osi-utils.c
index 47bb52c9f8..245612add0 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.4 2001/05/15 18:58:15 guy Exp $
+ * $Id: osi-utils.c,v 1.5 2002/06/28 22:43:49 guy Exp $
* Laurent Deniel <deniel@worldnet.fr>
* Ralf Schneider <Ralf.Schneider@t-online.de>
*
@@ -89,7 +89,7 @@ gchar *print_system_id( const guint8 *buffer, int length ) {
cur += sprintf(cur, "%02x%02x.%02x%02x.%02x%02x", buffer[0], buffer[1],
buffer[2], buffer[3], buffer[4], buffer[5] );
if ( 7 == length ) {
- sprintf( cur, "-%02x", buffer[6] );
+ sprintf( cur, ".%02x", buffer[6] );
}
}
else {
@@ -101,7 +101,7 @@ gchar *print_system_id( const guint8 *buffer, int length ) {
cur += sprintf( cur, "%02x.", buffer[tmp++] );
}
if ( 1 == tmp ) { /* Special case for Designated IS */
- sprintf( --cur, "-%02x", buffer[tmp] );
+ sprintf( --cur, ".%02x", buffer[tmp] );
}
else {
for ( ; tmp < length; ) { /* print the rest without dot */