diff options
Diffstat (limited to 'src/main/scala/com/tylerstonge/honeypot/ftp/FtpListener.scala')
-rw-r--r-- | src/main/scala/com/tylerstonge/honeypot/ftp/FtpListener.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/com/tylerstonge/honeypot/ftp/FtpListener.scala b/src/main/scala/com/tylerstonge/honeypot/ftp/FtpListener.scala index 2f581bd..9e98a39 100644 --- a/src/main/scala/com/tylerstonge/honeypot/ftp/FtpListener.scala +++ b/src/main/scala/com/tylerstonge/honeypot/ftp/FtpListener.scala @@ -24,7 +24,7 @@ class FtpListener(port: Int) extends Actor { case CommandFailed(_: Bind) => context.stop(self) case Connected(remote, _) => val connection = sender() - val handler = context.actorOf(FtpHandler.props(connection), name = "handler") + val handler = context.actorOf(FtpHandler.props(connection)) context.system.eventStream.publish(MNewConnection(remote.getHostString)) connection ! Register(handler) connection ! Write(ByteString.apply("220 (vulnFTPd 2.0.1)\n")) |