this changes output from

15:48:38.877024 10.15.5.75.53496 > 10.15.5.2.69: 28 ERROR EUNDEF Interrupted 
system call"

to

15:48:38.877024 10.15.5.75.53496 > 10.15.5.2.69: 28 ERROR EUNDEF "Interrupted 
system call"

ok?

Index: print-tftp.c
===================================================================
RCS file: /cvs/src/usr.sbin/tcpdump/print-tftp.c,v
retrieving revision 1.8
diff -u -p -r1.8 print-tftp.c
--- print-tftp.c        7 Oct 2007 16:41:05 -0000       1.8
+++ print-tftp.c        30 Jul 2009 14:48:08 -0000
@@ -126,6 +126,7 @@ tftp_print(register const u_char *bp, u_
                printf(" %s ", tok2str(err2str, "tftp-err-#%d \"",
                                       ntohs(tp->th_code)));
                /* Print error message string */
+               putchar('"');
                i = fn_print((const u_char *)tp->th_data, snapend);
                putchar('"');
                if (i)

Reply via email to