-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The valid_ip function did not properly exit when it detected an invalid IP address. This caused the function to continue to try to compare a string and an integer, which is not valid. In addition, if NO_PROXY only contained one valid IP address, then the for loop would continue forever. By adding '-s' the case of one valid IP address is handled correctly.
- Loading branch information
Donnie Adams
committed
Oct 28, 2021
1 parent
c1fc25f
commit 68c7479
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters