Add a missing break statement, which made the code default to IPv6.
PR: 201285 Submitted by: David Binderman MFC after: 1 week
This commit is contained in:
parent
862b89af4e
commit
a356e9eb6b
@ -448,6 +448,7 @@ main(int argc, char **argv)
|
||||
switch (c) {
|
||||
case '4':
|
||||
hints.ai_family = PF_INET;
|
||||
break;
|
||||
case '6':
|
||||
hints.ai_family = PF_INET6;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user