diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-12-13 05:09:05 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-12-13 05:09:05 +0000 |
commit | 939fa8362e7ea8aa709f178ce2ef049baae4b5f9 (patch) | |
tree | d0a57aad2b5a27833b2a19828eace4176a32c981 /packet-ip.c | |
parent | 66674a789eba0003ff506bd50963a7652277c4b4 (diff) | |
download | wireshark-939fa8362e7ea8aa709f178ce2ef049baae4b5f9.tar.gz wireshark-939fa8362e7ea8aa709f178ce2ef049baae4b5f9.tar.bz2 wireshark-939fa8362e7ea8aa709f178ce2ef049baae4b5f9.zip |
Fix problem with number of format args for "option length too short".
Problem reported by James Coe <jammer@cin.net>
svn path=/trunk/; revision=1309
Diffstat (limited to 'packet-ip.c')
-rw-r--r-- | packet-ip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ip.c b/packet-ip.c index 88916bf8d3..bf9c7a8004 100644 --- a/packet-ip.c +++ b/packet-ip.c @@ -1,7 +1,7 @@ /* packet-ip.c * Routines for IP and miscellaneous IP protocol packet disassembly * - * $Id: packet-ip.c,v 1.66 1999/12/09 21:58:04 guy Exp $ + * $Id: packet-ip.c,v 1.67 1999/12/13 05:09:05 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -650,7 +650,7 @@ dissect_ip_tcp_options(const u_char *opd, int offset, guint length, option length. */ proto_tree_add_text(opt_tree, offset, 2, "%s (with too-short option length = %u byte%s)", name, - plurality(len, "", "s")); + len, plurality(len, "", "s")); return; } else if (len - 2 > length) { /* Bogus - option goes past the end of the header. */ |