typofix in comment
							parent
							
								
									f62fabce4c
								
							
						
					
					
						commit
						fa9ddcd7f1
					
				| 
						 | 
					@ -55,7 +55,7 @@ func isInBlock(ip string, block string) (bool, error) {
 | 
				
			||||||
	return false, errors.Wrapf(err, "Error ip not in block")
 | 
						return false, errors.Wrapf(err, "Error ip not in block")
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// ExcludeIP takes ip or CIDR as string and excludes the it from the http(s)_proxy
 | 
					// ExcludeIP takes ip or CIDR as string and excludes it from the http(s)_proxy
 | 
				
			||||||
func ExcludeIP(ip string) error {
 | 
					func ExcludeIP(ip string) error {
 | 
				
			||||||
	if netIP := net.ParseIP(ip); netIP == nil {
 | 
						if netIP := net.ParseIP(ip); netIP == nil {
 | 
				
			||||||
		if _, _, err := net.ParseCIDR(ip); err != nil {
 | 
							if _, _, err := net.ParseCIDR(ip); err != nil {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue