mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +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
|
||||
* address, puts square brackets around the address. 'bufsize' should be at
|
||||
* least SS_NTOP_BUFSIZE. */
|
||||
* address, puts square brackets around the address. */
|
||||
void
|
||||
ss_format_address(const struct sockaddr_storage *ss, struct ds *s)
|
||||
{
|
||||
|
Reference in New Issue
Block a user