From Lars Roland:
[obnox/wireshark/wip.git] / packet-dcerpc-rs_attr.c
index f3ff4db1b1d4f2e8c073e2951128687faaf6aca4..3085015920a4b010e319c5bd79a513630715adba 100644 (file)
@@ -5,7 +5,7 @@
  * This information is based off the released idl files from opengroup.
  * ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/rs_attr.idl
  *      
- * $Id: packet-dcerpc-rs_attr.c,v 1.2 2002/11/08 19:42:40 guy Exp $
+ * $Id: packet-dcerpc-rs_attr.c,v 1.4 2003/08/04 02:49:01 tpot Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -66,25 +66,12 @@ static dcerpc_sub_dissector rs_attr_dissectors[] = {
     { 0, NULL, NULL, NULL }
 };
 
-static const value_string rs_attr_opnum_vals[] = {
-    { 0, "rs_attr_cursor_init" },
-    { 1, "rs_attr_lookup_by_id" },
-    { 2, "rs_attr_lookup_no_expand" },
-    { 3, "rs_attr_lookup_by_name" },
-    { 4, "rs_attr_update" },
-    { 5, "rs_attr_test_and_update" },
-    { 6, "rs_attr_delete" },
-    { 7, "rs_attr_get_referral" },
-    { 8, "rs_attr_get_effective" },
-    { 0, NULL }
-};
-
 void
 proto_register_rs_attr (void)
 {
        static hf_register_info hf[] = {
        { &hf_rs_attr_opnum,
-               { "Operation", "rs_attr.opnum", FT_UINT16, BASE_DEC, VALS(rs_attr_opnum_vals), 0x0, "Operation", HFILL }},
+               { "Operation", "rs_attr.opnum", FT_UINT16, BASE_DEC, NULL, 0x0, "Operation", HFILL }},
        };
 
        static gint *ett[] = {