Add some missing commands.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 15 Apr 2006 18:41:39 +0000 (18:41 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 15 Apr 2006 18:41:39 +0000 (18:41 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17868 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/megaco/packet-megaco.c

index 30cd020232cbf273c7909d287d2371af7a89c5f3..cb5a615fe083498d6065594709794c7e3121021c 100644 (file)
@@ -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 ){