From ae0219cd8148bd01179f1686e8e12cf3ccdbf1a9 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 5 Nov 2006 00:03:44 +0000 Subject: r19560: Fix handling of PARAM_VALUE. (This used to be commit dde3d5342cd8b67ec4a0929f3e5577d6b1e7d16b) --- source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/pidl/lib/Parse') diff --git a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm index 5af7c02032..f72efc7534 100644 --- a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm @@ -263,7 +263,7 @@ sub ElementLevel($$$$$$) my $param = 0; if (defined($conformance->{dissectorparams}->{$myname})) { - $conformance->{dissectorparams}->{$myname}->{PARAM} = 1; +# $conformance->{dissectorparams}->{$myname}->{PARAM} = 1; $param = $conformance->{dissectorparams}->{$myname}->{PARAM}; } @@ -426,6 +426,8 @@ sub Function($$$) my $fn_name = $_->{NAME}; $fn_name =~ s/^${ifname}_//; + print "$fn_name\n"; + PrintIdl DumpFunction($fn->{ORIGINAL}); pidl_fn_start "$ifname\_dissect\_$fn_name\_response"; pidl_code "static int"; -- cgit