mirror of https://gitee.com/openkylin/libvirt.git
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:
|
||||
* @address: address to check
|
||||
*
|
||||
* Check if passed address is an IP address in numeric format. and
|
||||
* return the address family, otherwise return 0.
|
||||
* Check if passed address is an IP address in numeric format.
|
||||
*
|
||||
* Returns: AF_INET or AF_INET6 if @address is an numeric IP address,
|
||||
* -1 otherwise.
|
||||
|
|
Loading…
Reference in New Issue