aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/unistim/packet-unistim.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-01-02 19:39:24 +0000
committerGuy Harris <guy@alum.mit.edu>2011-01-02 19:39:24 +0000
commit742915eca541a94b275f696871364486a72301bc (patch)
tree928eb8fa4fb0615da9b1361664c8bcdcc83b6bd1 /plugins/unistim/packet-unistim.c
parentbfcf14ca2c13a491f1b42c2e455fb7bc53fd9964 (diff)
Fix some cut-and-pasteos and other typoes.
svn path=/trunk/; revision=35328
Diffstat (limited to 'plugins/unistim/packet-unistim.c')
-rw-r--r--plugins/unistim/packet-unistim.c14
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);