summaryrefslogtreecommitdiff
path: root/tools/npl/npl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/npl/npl.c')
-rw-r--r--tools/npl/npl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/npl/npl.c b/tools/npl/npl.c
index d93b5f367b..096b4681ea 100644
--- a/tools/npl/npl.c
+++ b/tools/npl/npl.c
@@ -1843,7 +1843,7 @@ gen_proto_handoff(FILE *f, const char *proto_name)
"proto_reg_handoff_%s(void)\n"
"{\n", proto_name);
- gen_fprintf(f, "\tdissector_handle_t %s_handle = new_create_dissector_handle(dissect_%s, proto_%s);\n", proto_name, proto_name, proto_name);
+ gen_fprintf(f, "\tdissector_handle_t %s_handle = create_dissector_handle(dissect_%s, proto_%s);\n", proto_name, proto_name, proto_name);
#if 0
dissector_add_uint("REG", XXX, %s_handle);