diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-01-02 19:39:24 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-01-02 19:39:24 +0000 |
commit | 76d8b81238597e11688ba8bafdf9e235757167a7 (patch) | |
tree | 928eb8fa4fb0615da9b1361664c8bcdcc83b6bd1 /plugins/unistim | |
parent | cf660e44cf270a67f78e96938765f61f87f1e247 (diff) |
Fix some cut-and-pasteos and other typoes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35328 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/unistim')
-rw-r--r-- | plugins/unistim/packet-unistim.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c index 2f1bb21c68..7037584efe 100644 --- a/plugins/unistim/packet-unistim.c +++ b/plugins/unistim/packet-unistim.c @@ -2409,18 +2409,18 @@ dissect_audio_switch(proto_tree *msg_tree,packet_info *pinfo, break; case 0x3b: /*Resolve Port Mapping*/ - proto_tree_add_item(msg_tree,hf_audio_resolve_phone_port,tvb,offset,1,FALSE); + proto_tree_add_item(msg_tree,hf_audio_resolve_phone_port,tvb,offset,2,FALSE); offset+=2;msg_len-=2; - proto_tree_add_item(msg_tree,hf_audio_far_end_echo_port,tvb,offset,1,FALSE); + proto_tree_add_item(msg_tree,hf_audio_far_end_echo_port,tvb,offset,2,FALSE); offset+=2;msg_len-=2; - proto_tree_add_item(msg_tree,hf_audio_far_end_ip_address,tvb,offset,1,FALSE); + proto_tree_add_item(msg_tree,hf_audio_far_end_ip_address,tvb,offset,4,FALSE); offset+=4;msg_len-=4; break; case 0x3c: - /*Port Mpping Discovery Ack*/ - proto_tree_add_item(msg_tree,hf_audio_nat_port,tvb,offset,1,FALSE); + /*Port Mapping Discovery Ack*/ + proto_tree_add_item(msg_tree,hf_audio_nat_port,tvb,offset,2,FALSE); offset+=2;msg_len-=2; - proto_tree_add_item(msg_tree,hf_audio_nat_ip_address,tvb,offset,1,FALSE); + proto_tree_add_item(msg_tree,hf_audio_nat_ip_address,tvb,offset,4,FALSE); offset+=4;msg_len-=4; break; case 0x3d: @@ -2485,7 +2485,7 @@ dissect_audio_phone(proto_tree *msg_tree, break; case 0x07: /*Audio Manager Attributes Info*/ - proto_tree_add_item(msg_tree,hf_audio_hf_support,tvb,1,msg_len,FALSE); + proto_tree_add_item(msg_tree,hf_audio_hf_support,tvb,offset,1,FALSE); offset+=1;msg_len-=1; while(msg_len>0){ proto_tree_add_item(msg_tree,hf_rx_vocoder_type,tvb,offset,1,FALSE); |