-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve(cli, gossip): Disallow port in
--gossip-host
(#335)
* Added IpAddr.parseIpv4 * Added IpAddr.parseIpv6 * Added IpAddr.parse * Parse host using IpAddr.parse * Turn presence of port into error in Ipv4Addr parsing * fmt * Turn presence of port into error in Ipv6Addr parsing * Improve error report * refactor(net): simplify ip parsing and use more informative errors * feat(cmd): log for *any* ip parsing errors --------- Co-authored-by: Drew Nutter <[email protected]>
- Loading branch information
Showing
3 changed files
with
123 additions
and
21 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
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
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