Fix DeepSource issues

This commit is contained in:
2022-02-11 15:17:03 +00:00
parent d38a7e126d
commit c64f489c95
3 changed files with 18 additions and 22 deletions

View File

@@ -32,8 +32,8 @@ func printIPInfo(input string, wantPrefixes bool) {
fmt.Println("Timezone: ", IPInfo.Timezone)
fmt.Println("ISP: ", IPInfo.ISP)
fmt.Println("BGP AS: ", bgpAS)
if wantPrefixes == true {
if wantPrefixes {
fmt.Println("\nBGP Prefixes:")
getBGPPrefixes(bgpAS)
printBGPPrefixes(bgpAS)
}
}