Skip to content

Commit

Permalink
Fix TCP flags output
Browse files Browse the repository at this point in the history
  • Loading branch information
v-byte-cpu committed Mar 27, 2021
1 parent 4153c9f commit a94cbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scan/tcp/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type ScanResult struct {
}

func (r *ScanResult) String() string {
return fmt.Sprintf("%-20s %d", r.IP, r.Port)
return fmt.Sprintf("%-20s %-5d %s", r.IP, r.Port, r.Flags)
}

func (r *ScanResult) ID() string {
Expand Down

0 comments on commit a94cbad

Please sign in to comment.