diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-12 06:21:35 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-12 06:21:35 +0000 |
commit | 39fd819fb4f986330167e4f1d51ecb00f07cf775 (patch) | |
tree | 221a7573bb57f01d4f28be59a4a1e5d7f9b9c909 /epan/dissectors/packet-isis-lsp.c | |
parent | f9b16868836047da2a15384419d576f08eea8e29 (diff) |
Don't collide with the "regular" IPv6 defintions in at least some
platforms in ipv6-utils.h.
svn path=/trunk/; revision=15764
Diffstat (limited to 'epan/dissectors/packet-isis-lsp.c')
-rw-r--r-- | epan/dissectors/packet-isis-lsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-isis-lsp.c b/epan/dissectors/packet-isis-lsp.c index a88d6d8b01..edffaf2af9 100644 --- a/epan/dissectors/packet-isis-lsp.c +++ b/epan/dissectors/packet-isis-lsp.c @@ -802,7 +802,7 @@ dissect_lsp_ipv6_reachability_clv(tvbuff_t *tvb, proto_tree *tree, int offset, if (!tree) return; while (length > 0) { - memset (prefix.s6_addr, 0, 16); + memset (prefix.bytes, 0, 16); ctrl_info = tvb_get_guint8(tvb, offset+4); bit_length = tvb_get_guint8(tvb, offset+5); byte_length = (bit_length + 7) / 8; @@ -811,7 +811,7 @@ dissect_lsp_ipv6_reachability_clv(tvbuff_t *tvb, proto_tree *tree, int offset, "IPv6 prefix has an invalid length: %d bytes", byte_length ); return; } - tvb_memcpy (tvb, prefix.s6_addr, offset+6, byte_length); + tvb_memcpy (tvb, prefix.bytes, offset+6, byte_length); metric = tvb_get_ntohl(tvb, offset); subclvs_len = 0; if ((ctrl_info & 0x20) != 0) |