From c50dfdd2b94f3f5a74cd54f254f06709a0d3fc01 Mon Sep 17 00:00:00 2001 From: Phil <phil@secdev.org> Date: Wed, 30 Jul 2008 15:06:26 +0200 Subject: [PATCH] Changed Gnuplot's 'with' parameter into 'with_'. Need Gnuplot 1.8. (ticket #47) --- scapy/layers/inet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scapy/layers/inet.py b/scapy/layers/inet.py index e575cc1e..055b4918 100644 --- a/scapy/layers/inet.py +++ b/scapy/layers/inet.py @@ -904,9 +904,9 @@ class TracerouteResult(SndRcvList): if loctrace: trt[trace_id] = loctrace - tr = map(lambda x: Gnuplot.Data(x,with="lines"), trt.values()) + tr = map(lambda x: Gnuplot.Data(x,with_="lines"), trt.values()) g = Gnuplot.Gnuplot() - world = Gnuplot.File(conf.gnuplot_world,with="lines") + world = Gnuplot.File(conf.gnuplot_world,with_="lines") g.plot(world,*tr) return g -- GitLab