File: tcpdump2xplot-parse.patch

package info (click to toggle)
xplot-xplot.org 0.90.7.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,884 kB
  • sloc: ansic: 4,311; perl: 1,087; sh: 152; makefile: 112
file content (12 lines) | stat: -rw-r--r-- 356 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Index: xplot-xplot.org/tcpdump2xplot.pl
===================================================================
--- xplot-xplot.org.orig/tcpdump2xplot.pl
+++ xplot-xplot.org/tcpdump2xplot.pl
@@ -227,6 +227,7 @@ for ($lineNo = 1; <$Tcpdump>; $lineNo++)
 
     chop;
     $opts = $_;   # save this for later 
+    s/ IP//;
 
     split(/ /);
     $time = $_[0];