Skip to content

Commit

Permalink
[+] add BlockSameIP option, which can restrict every ip only have one…
Browse files Browse the repository at this point in the history
… client
  • Loading branch information
lnyzx committed Mar 12, 2019
1 parent c81ed35 commit c416107
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/context/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ func (s *TCPServer) Run() {
Ctx.DeleteTCPClient(client)
log.Info("RaaS: %s", command)
} else {
log.Info("blocksameip: %d", Ctx.BlockSameIP)
switch Ctx.BlockSameIP {
case 1:
newclientIP := client.Conn.RemoteAddr().String()
Expand Down

0 comments on commit c416107

Please sign in to comment.