From 8f7a6edca8c91ec84d8785d95649724168de3288 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Sat, 15 Apr 2006 18:41:39 +0000 Subject: Add some missing commands. svn path=/trunk/; revision=17868 --- plugins/megaco/packet-megaco.c | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'plugins/megaco') diff --git a/plugins/megaco/packet-megaco.c b/plugins/megaco/packet-megaco.c index 30cd020232..cb5a615fe0 100644 --- a/plugins/megaco/packet-megaco.c +++ b/plugins/megaco/packet-megaco.c @@ -883,8 +883,40 @@ nextcontext: } break; - case 'S': + case 'P': + /* + PackagesToken = ("Packages" / "PG") + PendingToken = ("Pending" / "PN") + PriorityToken = ("Priority" / "PR") + ProfileToken = ("Profile" / "PF") + */ + tempchar = tvb_get_guint8(tvb, tvb_command_start_offset+1); + + switch ( tempchar ){ + case 'G': + my_proto_tree_add_string(megaco_tree_command_line, hf_megaco_command, tvb, + tvb_command_start_offset, tokenlen, + "Packages"); + break; + case 'N': + my_proto_tree_add_string(megaco_tree_command_line, hf_megaco_command, tvb, + tvb_command_start_offset, tokenlen, + "Pending"); + break; + case 'R': + my_proto_tree_add_string(megaco_tree_command_line, hf_megaco_command, tvb, + tvb_command_start_offset, tokenlen, + "Priority"); + break; + case 'F': + my_proto_tree_add_string(megaco_tree_command_line, hf_megaco_command, tvb, + tvb_command_start_offset, tokenlen, + "Profile"); + break; + } + break; + case 'S': tempchar = tvb_get_guint8(tvb, tvb_command_start_offset+1); switch ( tempchar ){ -- cgit v1.2.3