WSP status code is hexadecimal.
authorobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 10 Dec 2003 22:27:41 +0000 (22:27 +0000)
committerobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 10 Dec 2003 22:27:41 +0000 (22:27 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9236 f5534014-38df-0310-8fa8-9805f1628bb7

tap-wspstat.c

index 0ecff309fe3faa1498d72f8e745d121b2d4004bb..a9ddfd38b73b546b94d4e3a64a0eec32cc7b4c8c 100644 (file)
@@ -1,7 +1,7 @@
 /* tap-rpcstat.c
  * wspstat   2003 Jean-Michel FAYARD
  *
- * $Id: tap-wspstat.c,v 1.2 2003/11/27 22:15:05 guy Exp $
+ * $Id: tap-wspstat.c,v 1.3 2003/12/10 22:27:41 obiot Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -201,7 +201,7 @@ wspstat_draw(void *psp)
        printf("\nStatus code in reply packets\n");
        printf(         "Status Code    Packets  Description\n");
        g_hash_table_foreach( sp->hash, (GHFunc) wsp_print_statuscode, 
-                       "%11d  %9d  %s\n" ) ;
+                       "       0x%02X  %9d  %s\n" ) ;
        printf("===================================================================\n");
 }