aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-ipv6.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-05-10 16:37:44 -0400
committerMichael Mann <mmann78@netscape.net>2016-05-10 22:49:25 +0000
commit4d3df66af44b563a1c6d6fe03fcdf09f93877dba (patch)
treea9d9927c9c20bfdc0b304f439a024b34fd55eac3 /epan/ftypes/ftype-ipv6.c
parent1dccd1ee072722fbe6d5e1a9d726a7e87d191f76 (diff)
Give FvalueToStringRepr a length parameter.
This allows the conversion of a few straggler strcpy calls in ftype library. Also provides a more accurate size value instead of the many hard coded values the ftypes were using. Change-Id: Ia6273980432e16ad3a6233816a6054d9fed5d2a4 Reviewed-on: https://code.wireshark.org/review/15344 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/ftypes/ftype-ipv6.c')
-rw-r--r--epan/ftypes/ftype-ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-ipv6.c b/epan/ftypes/ftype-ipv6.c
index 9540fb25ca..39b45578fc 100644
--- a/epan/ftypes/ftype-ipv6.c
+++ b/epan/ftypes/ftype-ipv6.c
@@ -100,7 +100,7 @@ ipv6_repr_len(fvalue_t *fv _U_, ftrepr_t rtype _U_, int field_display _U_)
}
static void
-ipv6_to_repr(fvalue_t *fv, ftrepr_t rtype _U_, int field_display _U_, char *buf)
+ipv6_to_repr(fvalue_t *fv, ftrepr_t rtype _U_, int field_display _U_, char *buf, unsigned int size _U_)
{
ip6_to_str_buf(&(fv->value.ipv6.addr), buf);
}