From 9d826f14c97f10575f9955468d5d4b40839b643f Mon Sep 17 00:00:00 2001
From: Phil <phil@secdev.org>
Date: Fri, 13 Feb 2009 14:52:19 +0100
Subject: [PATCH] Added traceroute() in the list of documented functions
 (lsc())

---
 scapy/layers/inet.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scapy/layers/inet.py b/scapy/layers/inet.py
index ac61d4f5..702d50d9 100644
--- a/scapy/layers/inet.py
+++ b/scapy/layers/inet.py
@@ -1076,7 +1076,7 @@ class TracerouteResult(SndRcvList):
 
 
 
-    
+@conf.commands.register
 def traceroute(target, dport=80, minttl=1, maxttl=30, sport=RandShort(), l4 = None, filter=None, timeout=2, verbose=None, **kargs):
     """Instant TCP traceroute
 traceroute(target, [maxttl=30,] [dport=80,] [sport=80,] [verbose=conf.verb]) -> None
-- 
GitLab