From 939fa8362e7ea8aa709f178ce2ef049baae4b5f9 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Mon, 13 Dec 1999 05:09:05 +0000 Subject: Fix problem with number of format args for "option length too short". Problem reported by James Coe svn path=/trunk/; revision=1309 --- packet-ip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-ip.c') 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 @@ -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. */ -- cgit v1.2.3