aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tftp.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-02-09 17:15:59 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-02-09 17:15:59 +0000
commitc08f67198863c9c6e51b5817d2dbcfe8bfb65dbf (patch)
treecca971677378ae20bf11ffb697dd795f240618de /packet-tftp.c
parent41f0a2c5e66cbac7ca04d7b7adff8d19bf0884cf (diff)
Dietmar Petras provided:
* fix a bug in packet-tftp.c dissecting TFTP Option Acknowledgement packets. The is no Block-Id in TFTP Option Acknowledgements, as it is in TFTP Acknowledgements. * Extension of manuf by ethernet addresses from ELSA (my company), a german vendor of ISDN routers, cable modems, etc. * New dissector for Time Protocol [RFC 0868]. That protocol works on port 37 of UDP and TCP. The implementation in this patch only dissects the more usual UDP version. It could print the time in a more fashion way, but thats for a later version. svn path=/trunk/; revision=1609
Diffstat (limited to 'packet-tftp.c')
-rw-r--r--packet-tftp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/packet-tftp.c b/packet-tftp.c
index 02ac06d4c9..2c137d312a 100644
--- a/packet-tftp.c
+++ b/packet-tftp.c
@@ -5,7 +5,7 @@
* Craig Newell <CraigN@cheque.uq.edu.au>
* RFC2347 TFTP Option Extension
*
- * $Id: packet-tftp.c,v 1.9 2000/01/27 07:09:15 guy Exp $
+ * $Id: packet-tftp.c,v 1.10 2000/02/09 17:15:47 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -167,9 +167,6 @@ dissect_tftp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
case OACK:
proto_tree_add_text(tftp_tree, offset, 2, "Option Acknowledgement");
offset += 2;
- i1 = pntohs(pd+offset);
- proto_tree_add_text(tftp_tree, offset, 2, "Block = %u", i1);
- offset += 2;
while (offset < pi.captured_len) {
int i2;
i1 = strlen(pd+offset); /* length of option */