summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-10-08 12:22:18 -0700
committerStefan Metzmacher <metze@samba.org>2013-10-09 08:40:47 +0200
commitcd871a6b8c82bd2b9d2c1470ea93ba84b7f57885 (patch)
tree881eaab128cd833a9940fa163b57f869bd10d2d7
parent0de6282e00e1052d8facf6bcad69f2b8fa547895 (diff)
downloadsamba-cd871a6b8c82bd2b9d2c1470ea93ba84b7f57885.tar.gz
samba-cd871a6b8c82bd2b9d2c1470ea93ba84b7f57885.tar.bz2
samba-cd871a6b8c82bd2b9d2c1470ea93ba84b7f57885.zip
pidl-wireshark: fix trailing white space in the HF definition
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--pidl/lib/Parse/Pidl/Wireshark/NDR.pm2
-rwxr-xr-xpidl/tests/wireshark-ndr.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 1151dc0807..0b2940ab60 100644
--- a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -1192,7 +1192,7 @@ sub DumpHfList($)
foreach (values %{$self->{conformance}->{header_fields}})
{
- $res .= "\t{ &$_->{INDEX},
+ $res .= "\t{ &$_->{INDEX},
{ ".make_str($_->{NAME}).", ".make_str($_->{FILTER}).", $_->{FT_TYPE}, $_->{BASE_TYPE}, $_->{VALSSTRING}, $_->{MASK}, ".make_str_or_null($_->{BLURB}).", HFILL }},
";
}
diff --git a/pidl/tests/wireshark-ndr.pl b/pidl/tests/wireshark-ndr.pl
index 8c2cd47584..49ecc5c035 100755
--- a/pidl/tests/wireshark-ndr.pl
+++ b/pidl/tests/wireshark-ndr.pl
@@ -227,7 +227,7 @@ $x->{conformance} = {
};
is($x->DumpHfList(), "\tstatic hf_register_info hf[] = {
- { &hf_bla,
+ { &hf_bla,
{ \"Bla\", \"bla.field\", FT_UINT32, BASE_DEC, NULL, 255, \"NULL\", HFILL }},
};
");