diff options
Diffstat (limited to 'epan/dissectors/packet-isis-lsp.c')
-rw-r--r-- | epan/dissectors/packet-isis-lsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-isis-lsp.c b/epan/dissectors/packet-isis-lsp.c index 27b90968df..a88d6d8b01 100644 --- a/epan/dissectors/packet-isis-lsp.c +++ b/epan/dissectors/packet-isis-lsp.c @@ -542,7 +542,7 @@ dissect_lsp_ip_reachability_clv(tvbuff_t *tvb, proto_tree *tree, int offset, * Gotta build a sub-tree for all our pieces */ if ( tree ) { - tvb_memcpy(tvb, (guint8 *)&src, offset+4, 4); + src = tvb_get_ipv4(tvb, offset+4); mask = tvb_get_ntohl(tvb, offset+8); /* find out if the mask matches one of 33 possible prefix lengths */ |