aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-10-30 10:40:46 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2017-10-30 09:42:58 +0000
commit9008d7f867acbef624cc9522513d39521b3ce2b9 (patch)
tree3bc76dd61e01ff1c044dbbe1c55843f3d37e49ec /epan/ftypes
parentd597b5d61ec941df2c1a3bd56c125dd70aa7d47c (diff)
Fix assert when trying to display an IPv4 address
Follow-up of gdd1c18dd Change-Id: Ifa6fc2e68f866540184a29a5fb61c3b7033bc8b2 Reviewed-on: https://code.wireshark.org/review/24180 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/ftypes')
-rw-r--r--epan/ftypes/ftypes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/ftypes/ftypes.c b/epan/ftypes/ftypes.c
index 0e81ec9a47..b3d4ca6944 100644
--- a/epan/ftypes/ftypes.c
+++ b/epan/ftypes/ftypes.c
@@ -651,7 +651,8 @@ fvalue_get_uinteger(fvalue_t *fv)
fv->ftype->ftype == FT_UINT24 ||
fv->ftype->ftype == FT_UINT32 ||
fv->ftype->ftype == FT_IPXNET ||
- fv->ftype->ftype == FT_FRAMENUM);
+ fv->ftype->ftype == FT_FRAMENUM ||
+ fv->ftype->ftype == FT_IPv4);
g_assert(fv->ftype->get_value.get_value_uinteger);
return fv->ftype->get_value.get_value_uinteger(fv);
}