4 ms·
The post is incorrect, only IPv6 addresses are meant to be put in brackets.
by SethMLarson 3y ago
The post is incorrect, only IPv6 addresses are meant to be put in brackets.
- codepoet80 3y agoYou are correct, reading the RFC just a little further than my ctrl+f found: > A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]").
- recursive 3y agoAnd in that case, the square brackets are not only recommended; they are required.
- whatbackup 3y agoAuthor here; you guys are right! - I've corrected it. Thank you