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
59a046067a
commit
238ca3cb7e
@ -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…
Reference in New Issue
Block a user