diff options
Diffstat (limited to 'epan/dissectors/packet-udp.c')
-rw-r--r-- | epan/dissectors/packet-udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-udp.c b/epan/dissectors/packet-udp.c index 9cc5d13377..aa2f02b07e 100644 --- a/epan/dissectors/packet-udp.c +++ b/epan/dissectors/packet-udp.c @@ -450,8 +450,8 @@ static gchar* udp_follow_index_filter(int stream) static gchar* udp_follow_address_filter(address* src_addr, address* dst_addr, int src_port, int dst_port) { const gchar *ip_version = src_addr->type == AT_IPv6 ? "v6" : ""; - gchar src_addr_str[MAX_IP6_STR_LEN]; - gchar dst_addr_str[MAX_IP6_STR_LEN]; + gchar src_addr_str[WS_INET6_ADDRSTRLEN]; + gchar dst_addr_str[WS_INET6_ADDRSTRLEN]; address_to_str_buf(src_addr, src_addr_str, sizeof(src_addr_str)); address_to_str_buf(dst_addr, dst_addr_str, sizeof(dst_addr_str)); |