diff options
author | 1999-09-16 20:58:44 +0000 | |
---|---|---|
committer | 1999-09-16 20:58:44 +0000 | |
commit | 5205045a72c2ff4df38a5397408efc625454c4b0 (patch) | |
tree | 7174084355ba073811f5fde5d9aa25e7a6ef9283 /usr.sbin/tcpdump/print-tftp.c | |
parent | Do something sensible with division by 0 in expr. (diff) | |
download | wireguard-openbsd-5205045a72c2ff4df38a5397408efc625454c4b0.tar.xz wireguard-openbsd-5205045a72c2ff4df38a5397408efc625454c4b0.zip |
bring more inline with tcpdump 3.4
Diffstat (limited to 'usr.sbin/tcpdump/print-tftp.c')
-rw-r--r-- | usr.sbin/tcpdump/print-tftp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-tftp.c b/usr.sbin/tcpdump/print-tftp.c index d1a5016521a..1206a6cfdee 100644 --- a/usr.sbin/tcpdump/print-tftp.c +++ b/usr.sbin/tcpdump/print-tftp.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 + * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-tftp.c,v 1.5 1996/12/12 16:22:25 bitblt Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-tftp.c,v 1.6 1999/09/16 20:58:47 brad Exp $ (LBL)"; #endif #include <sys/param.h> @@ -31,6 +31,9 @@ static const char rcsid[] = #include <netinet/in.h> +#ifdef SEGSIZE +#undef SEGSIZE /* SINIX sucks */ +#endif #include <arpa/tftp.h> #include <ctype.h> |