Remove: debug output
This commit is contained in:
parent
c1d14f1632
commit
449f6459b3
|
@ -52,12 +52,9 @@ func (s *Swamp) filter(in string) (filtered string, ok bool) {
|
|||
split := strings.Split(in, ":")
|
||||
|
||||
if len(split) < 2 {
|
||||
println("no colon")
|
||||
return in, false
|
||||
}
|
||||
|
||||
print(fmt.Sprintf("%s--->%s%s", in, split[0], split[1]))
|
||||
|
||||
if _, err := strconv.Atoi(split[1]); err != nil {
|
||||
return in, false
|
||||
}
|
||||
|
@ -65,7 +62,6 @@ func (s *Swamp) filter(in string) (filtered string, ok bool) {
|
|||
switch len(split) {
|
||||
case 2:
|
||||
if _, ok := dns.IsDomainName(split[0]); ok {
|
||||
println("domain detected")
|
||||
return in, true
|
||||
}
|
||||
combo, err := ipa.ParseIPPort(in)
|
||||
|
|
Loading…
Reference in New Issue