Hi,
As there is a tcpslice section in CVS, I assume patches are accepted.
- gcc version detection is a bit frail, e.g. egcs will give problems.
replaced with the one from libpcap
- 2 * tcpdump(l) -> tcpdump(1) in tcpslice.1
--
Pekka Savola "Tell me of difficulties surmounted,
Netcore Oy not those you stumble over and fall"
Systems. Networks. Security. -- Robert Jordan: A Crown of Swords
Common subdirectories: tcpslice/CVS and tcpslice.bugs/CVS
diff -uN tcpslice/aclocal.m4 tcpslice.bugs/aclocal.m4
--- tcpslice/aclocal.m4 Sun Jun 11 20:21:44 2000
+++ tcpslice.bugs/aclocal.m4 Mon Jan 1 03:28:46 2001
@@ -80,7 +80,10 @@
AC_MSG_CHECKING(gcc version)
AC_CACHE_VAL(ac_cv_lbl_gcc_vers,
ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \
- sed -n -e '$s/.* //' -e '$s/\..*//p'`)
+ sed -e '/^gcc version /!d' \
+ -e 's/^gcc version //' \
+ -e 's/ .*//' -e 's/^[[[^0-9]]]*//' \
+ -e 's/\..*//'`)
AC_MSG_RESULT($ac_cv_lbl_gcc_vers)
if test $ac_cv_lbl_gcc_vers -gt 1 ; then
$1="-O2"
Common subdirectories: tcpslice/lbl and tcpslice.bugs/lbl
diff -uN tcpslice/tcpslice.1 tcpslice.bugs/tcpslice.1
--- tcpslice/tcpslice.1 Sun Jun 11 20:21:45 2000
+++ tcpslice.bugs/tcpslice.1 Mon Jan 1 03:28:59 2001
@@ -45,7 +45,7 @@
.LP
.I Tcpslice
is a program for extracting portions of packet-trace files generated using
-\fItcpdump(l)\fP's
+\fItcpdump(1)\fP's
.B \-w
flag.
It can also be used to glue together several such files, as discussed
@@ -222,7 +222,7 @@
.B \-w
Direct the output to \fIfile\fR rather than \fIstdout\fP.
.SH "SEE ALSO"
-tcpdump(l)
+tcpdump(1)
.SH AUTHOR
Vern Paxson, of
Lawrence Berkeley Laboratory, University of California, Berkeley, CA.