mirror of
https://github.com/openvswitch/ovs
synced 2025-10-27 15:18:06 +00:00
socket-util: Fix error in comment on ss_format_address().
The output for this function is a dynamic string and doesn't have a fixed buffer size, so the comment was wrong. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Mark Michelson <mmichels@redhat.com>
This commit is contained in:
@@ -995,8 +995,7 @@ is_safe_name(const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Formats the IPv4 or IPv6 address in 'ss' into 's'. If 'ss' is an IPv6
|
/* Formats the IPv4 or IPv6 address in 'ss' into 's'. If 'ss' is an IPv6
|
||||||
* address, puts square brackets around the address. 'bufsize' should be at
|
* address, puts square brackets around the address. */
|
||||||
* least SS_NTOP_BUFSIZE. */
|
|
||||||
void
|
void
|
||||||
ss_format_address(const struct sockaddr_storage *ss, struct ds *s)
|
ss_format_address(const struct sockaddr_storage *ss, struct ds *s)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user