Skip to content

Commit

Permalink
Fix strings typo
Browse files Browse the repository at this point in the history
  • Loading branch information
James Hannah committed Nov 2, 2016
1 parent e77fdcb commit d237a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipgrep.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

func str2net(s string) (ipm *net.IPNet) {
if !strings.Contains(s, "/") {
if !strings.Contains(":") {
if !strings.Contains(s, ":") {
s += "/32"
} else {
s += "/128"
Expand Down

0 comments on commit d237a75

Please sign in to comment.