mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
conf: fix a wrong comment in virSocketAddrNumericFamily()
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
This commit is contained in:
parent
5e0561e115
commit
bcf54e600f
@ -859,8 +859,7 @@ virSocketAddrGetIpPrefix(const virSocketAddr *address,
|
|||||||
* virSocketAddrNumericFamily:
|
* virSocketAddrNumericFamily:
|
||||||
* @address: address to check
|
* @address: address to check
|
||||||
*
|
*
|
||||||
* Check if passed address is an IP address in numeric format. and
|
* Check if passed address is an IP address in numeric format.
|
||||||
* return the address family, otherwise return 0.
|
|
||||||
*
|
*
|
||||||
* Returns: AF_INET or AF_INET6 if @address is an numeric IP address,
|
* Returns: AF_INET or AF_INET6 if @address is an numeric IP address,
|
||||||
* -1 otherwise.
|
* -1 otherwise.
|
||||||
|
Loading…
Reference in New Issue
Block a user