From d10d7b48b134bc45e42acd1298fc1d1f5a79cab7 Mon Sep 17 00:00:00 2001 From: Pavel Valach Date: Thu, 14 Jul 2022 13:34:17 +0200 Subject: [PATCH] python/ftp - Hotfix FTPDataConnect.__init__ requiring defaults for args --- modules/python/dionaea/ftp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/dionaea/ftp.py b/modules/python/dionaea/ftp.py index 4037dbed..6c7d5117 100644 --- a/modules/python/dionaea/ftp.py +++ b/modules/python/dionaea/ftp.py @@ -710,7 +710,7 @@ def handle_origin(self, parent): class FTPDataConnect(FTPDataCon): protocol_name = "ftpdataconnect" - def __init__(self, host, port, ctrl): + def __init__(self, host=None, port=None, ctrl=None): FTPDataCon.__init__(self, ctrl) self.connect(host, port)