aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/megaco
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-04-15 18:41:39 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-04-15 18:41:39 +0000
commit8f7a6edca8c91ec84d8785d95649724168de3288 (patch)
tree43093517d9b15f1f8a5dec6afdade9c7dd48d947 /plugins/megaco
parent518732d903c98d5b2f29419af6ad78a36c2ac2c0 (diff)
Add some missing commands.
svn path=/trunk/; revision=17868
Diffstat (limited to 'plugins/megaco')
-rw-r--r--plugins/megaco/packet-megaco.c34
1 files changed, 33 insertions, 1 deletions
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 ){