From cd871a6b8c82bd2b9d2c1470ea93ba84b7f57885 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Tue, 8 Oct 2013 12:22:18 -0700 Subject: pidl-wireshark: fix trailing white space in the HF definition Signed-off-by: Matthieu Patou Reviewed-by: Stefan Metzmacher --- pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 2 +- pidl/tests/wireshark-ndr.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pidl') 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 }}, }; "); -- cgit