From e429c04f4cbea9ef4137bf8bd56c88bec5c6e93e Mon Sep 17 00:00:00 2001
From: Phil <phil@secdev.org>
Date: Mon, 27 Aug 2007 17:28:41 +0200
Subject: [PATCH] Removed uneeded parameter to ATMT.timeout decorator

---
 scapy.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scapy.py b/scapy.py
index 5c1641fd..5c71fa12 100755
--- a/scapy.py
+++ b/scapy.py
@@ -11427,8 +11427,8 @@ class ATMT:
             return f
         return deco
     @staticmethod
-    def timeout(state, timeout, name=None):
-        def deco(f, state=state, timeout=timeout,name=name):
+    def timeout(state, timeout):
+        def deco(f, state=state, timeout=timeout):
             f.atmt_type = ATMT.TIMEOUT
             f.atmt_state = state.atmt_state
             f.atmt_timeout = timeout
-- 
GitLab