Remove: debug output

This commit is contained in:
kayos@tcp.direct 2021-10-26 19:15:44 -07:00
parent c1d14f1632
commit 449f6459b3
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

View File

@ -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)