diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-28 22:50:33 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-29 05:51:25 +0000 |
commit | e1ef732c11da520262476b782bc73bfaf6e9ef1d (patch) | |
tree | d6d8d30e5eda162ce4ec79a6f7f6db76eed9da59 /ui | |
parent | 83a4eadc070bcfda137b0f44e02712b46e5cb1d0 (diff) |
Get rid of MAX_IP_STR_LEN and MAX_IP6_STR_LEN.
We have WS_INET_ADDRSTRLEN and WS_INET6_ADDRSTRLEN; use them.
Change-Id: Idade0da9fae70d891901acd787b06d21e2ddbc5f
Reviewed-on: https://code.wireshark.org/review/24156
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cli/tap-follow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cli/tap-follow.c b/ui/cli/tap-follow.c index e625092ff0..ba77398977 100644 --- a/ui/cli/tap-follow.c +++ b/ui/cli/tap-follow.c @@ -171,7 +171,7 @@ static void follow_draw(void *contextp) follow_info_t *follow_info = (follow_info_t*)contextp; cli_follow_info_t* cli_follow_info = (cli_follow_info_t*)follow_info->gui_data; - gchar buf[MAX_IP6_STR_LEN]; + gchar buf[WS_INET6_ADDRSTRLEN]; guint32 global_client_pos = 0, global_server_pos = 0; guint32 *global_pos; guint32 ii, jj; |