Skip to content

Commit

Permalink
Merge pull request lcvvvv#131 from ruishawn/dev-m
Browse files Browse the repository at this point in the history
fix: remove duplicate ports
  • Loading branch information
lcvvvv authored Feb 6, 2023
2 parents 7f4728c + 67fdcf6 commit 091e133
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/type-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ func (c *Config) loadPort() {
if len(c.Port) == 0 {
c.Port = TOP_1000[:400]
}

c.Port = misc.RemoveDuplicateElement(c.Port)
}

func (c *Config) loadExcludedPort() {
Expand Down

0 comments on commit 091e133

Please sign in to comment.