mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
net: inet_strfamily(): Better unknown family report
Returning "????" is a bit meaningless, let's call it "unknown". Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
c9c4b34ed5
commit
c445321e66
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ const char *inet_strfamily(int family)
|
|||
case PF_INET: return "ipv4";
|
||||
case PF_UNIX: return "unix";
|
||||
}
|
||||
return "????";
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
static void inet_print_addrinfo(const char *tag, struct addrinfo *res)
|
||||
|
|
Loading…
Reference in a new issue