diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-06-30 18:57:13 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-06-30 18:57:13 +0000 |
commit | 3a2848cf46541c62ecf2b7937c0d1581bfac44b4 (patch) | |
tree | 0f9a0bf6c90c4b6f89be7e6bbcf7bb39edf7ace5 /epan/dissectors/packet-bat-vis.c | |
parent | 8980883a4e5573ba4a8a1e385bebf5c9cc396ae7 (diff) |
SET_ADDRESS should not be called with an address type of FT_IPv4 but rather AT_IPv4.
svn path=/trunk/; revision=25642
Diffstat (limited to 'epan/dissectors/packet-bat-vis.c')
-rw-r--r-- | epan/dissectors/packet-bat-vis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bat-vis.c b/epan/dissectors/packet-bat-vis.c index 02d785de80..f89bb2b399 100644 --- a/epan/dissectors/packet-bat-vis.c +++ b/epan/dissectors/packet-bat-vis.c @@ -186,7 +186,7 @@ static void dissect_bat_vis_v22(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t sender_ip_addr = tvb_get_ptr(tvb, 0, 4); sender_ip = tvb_get_ipv4(tvb, 0); - SET_ADDRESS(&vis_packeth->sender_ip, FT_IPv4, 4, sender_ip_addr); + SET_ADDRESS(&vis_packeth->sender_ip, AT_IPv4, 4, sender_ip_addr); vis_packeth->version = tvb_get_guint8(tvb, 4); vis_packeth->gw_class = tvb_get_guint8(tvb, 5); vis_packeth->tq_max = tvb_get_ntohs(tvb, 6); @@ -271,7 +271,7 @@ static void dissect_vis_entry_v22(tvbuff_t *tvb, packet_info *pinfo _U_, proto_t vis_datah->data = tvb_get_ntohs(tvb, 1); ip_addr = tvb_get_ptr(tvb, 3, 4); ip = tvb_get_ipv4(tvb, 3); - SET_ADDRESS(&vis_datah->ip, FT_IPv4, 4, ip_addr); + SET_ADDRESS(&vis_datah->ip, AT_IPv4, 4, ip_addr); /* Set tree info */ @@ -321,7 +321,7 @@ static void dissect_bat_vis_v23(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t sender_ip_addr = tvb_get_ptr(tvb, 0, 4); sender_ip = tvb_get_ipv4(tvb, 0); - SET_ADDRESS(&vis_packeth->sender_ip, FT_IPv4, 4, sender_ip_addr); + SET_ADDRESS(&vis_packeth->sender_ip, AT_IPv4, 4, sender_ip_addr); vis_packeth->version = tvb_get_guint8(tvb, 4); vis_packeth->gw_class = tvb_get_guint8(tvb, 5); vis_packeth->tq_max = tvb_get_guint8(tvb, 6); @@ -406,7 +406,7 @@ static void dissect_vis_entry_v23(tvbuff_t *tvb, packet_info *pinfo _U_, proto_t vis_datah->data = tvb_get_guint8(tvb, 1); ip_addr = tvb_get_ptr(tvb, 2, 4); ip = tvb_get_ipv4(tvb, 2); - SET_ADDRESS(&vis_datah->ip, FT_IPv4, 4, ip_addr); + SET_ADDRESS(&vis_datah->ip, AT_IPv4, 4, ip_addr); /* Set tree info */ |