Skip to content

Commit

Permalink
python/ftp - Hotfix FTPDataConnect.__init__ requiring defaults for args
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulosV committed Jul 14, 2022
1 parent 4e459f1 commit d10d7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/python/dionaea/ftp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d10d7b4

Please sign in to comment.