Ethereal-dev: [Ethereal-dev] simple OACK error code tftp dissector patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Bill Fumerola <billf@xxxxxxxxxxx>
Date: Thu, 13 Jun 2002 01:34:25 -0700
quoth rfc 2347:

#                                                                If the
#  value of a supported option is invalid, the specification for that
#  option will indicate whether the server should simply omit the option
#  from the OACK, respond with an alternate value, or send an ERROR
#  packet, with error code 8, to terminate the transfer.

trivial patch attached.

-- 
- bill fumerola / fumerola@xxxxxxxxxxxxx / billf@xxxxxxxxxxx / billf@xxxxxx


Index: packet-tftp.c
===================================================================
RCS file: /cvsroot/ethereal/packet-tftp.c,v
retrieving revision 1.37
diff -u -r1.37 packet-tftp.c
--- packet-tftp.c	2002/05/24 22:50:55	1.37
+++ packet-tftp.c	2002/06/13 08:30:47
@@ -85,6 +85,7 @@
   { 5, "Unknown transfer ID" },
   { 6, "File already exists" },
   { 7, "No such user" },
+  { 8, "Option negotiation failed" },
   { 0, NULL }
 };