diff options
author | Gerald Combs <gerald@wireshark.org> | 1998-11-18 23:58:54 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1998-11-18 23:58:54 +0000 |
commit | a7f302810d20b740882aa26e8db7a967d24f5586 (patch) | |
tree | 2af41b4c057165a2d944a6ad0554244165a0132c /packet-bootp.c | |
parent | 09cd69b746ba58f36e21269bb41fdc62b9237c19 (diff) | |
download | wireshark-a7f302810d20b740882aa26e8db7a967d24f5586.tar.gz wireshark-a7f302810d20b740882aa26e8db7a967d24f5586.tar.bz2 wireshark-a7f302810d20b740882aa26e8db7a967d24f5586.zip |
* Fixed minor bug when printing string values.
svn path=/trunk/; revision=108
Diffstat (limited to 'packet-bootp.c')
-rw-r--r-- | packet-bootp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-bootp.c b/packet-bootp.c index 59a7cf1e5a..9c89d16b95 100644 --- a/packet-bootp.c +++ b/packet-bootp.c @@ -2,7 +2,7 @@ * Routines for BOOTP/DHCP packet disassembly * Gilbert Ramirez <gram@verdict.uthscsa.edu> * - * $Id: packet-bootp.c,v 1.11 1998/11/18 03:01:33 gerald Exp $ + * $Id: packet-bootp.c,v 1.12 1998/11/18 23:58:54 gerald Exp $ * * The information used comes from: * RFC 2132: DHCP Options and BOOTP Vendor Extensions @@ -302,7 +302,7 @@ bootp_option(const u_char *pd, GtkWidget *bp_tree, int voff, int eoff) case string: add_item_to_tree(bp_tree, voff, consumed, - "Option %d: %s = %s", code, text, &pd[voff+2]); + "Option %d: %s = %.*s", code, text, pd[voff+2], &pd[voff+2]); break; case opaque: |