Run gofmt
This commit is contained in:
1 parent
58c8945b32
commit
56859a9c30
6 files changed
+29
-31
No files matched your search
+1
-1
@@ -87,7 +87,7 @@ func addrToIPv4(addr string) (IPv4, error) {
|
||||
// Parse a reverse address (eg, "11.12.13.10.in-addr.arpa.") and return the corresponding IPv4 (eg, "10.13.12.11")
|
||||
func raddrToIPv4(addr string) (IPv4, error) {
|
||||
l := len(addr)
|
||||
if l < rdnsDomainLen + 1 {
|
||||
if l < rdnsDomainLen+1 {
|
||||
return IPv4{}, &net.ParseError{"too short reverse IP address", addr}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user