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)