diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-03-07 05:10:18 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-03-07 05:10:18 +0000 |
commit | 52d5c46297d93312f84f2ef95e12c043d91651d2 (patch) | |
tree | d88427bc093bb8e715fcdb5c6ab0e512c8aae428 /docbook | |
parent | fdc980e79dc0fde8d1ccba19d32d8c93bddd65bb (diff) |
From Ben B.: Correct the info as to dissector integration using idl2wrs
svn path=/trunk/; revision=24581
Diffstat (limited to 'docbook')
-rw-r--r-- | docbook/wsug_src/WSUG_app_tools.xml | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/docbook/wsug_src/WSUG_app_tools.xml b/docbook/wsug_src/WSUG_app_tools.xml index 3d438d4343..b9966b9600 100644 --- a/docbook/wsug_src/WSUG_app_tools.xml +++ b/docbook/wsug_src/WSUG_app_tools.xml @@ -997,14 +997,30 @@ where <input-filename> specifies input filename (use - for standard input) </listitem> <listitem> <para> - Copy the resulting C code to your Wireshark src directory, - edit the two make files to include the packet-test-idl.c + Copy the resulting C code to subdirectory epan/dissectors/ inside your + Wireshark source directory. + <programlisting>cp packet-test-idl.c /dir/where/wireshark/lives/epan/dissectors/</programlisting> + The new dissector has to be added to Makefile.common in the same + directory. Look for the declaration CLEAN_DISSECTOR_SRC and add + the new dissector there. For example, <programlisting> -cp packet-test-idl.c /dir/where/wireshark/lives/ -edit Makefile.am -edit Makefile.nmake - </programlisting> +CLEAN_DISSECTOR_SRC = \ + packet-2dparityfec.c \ + packet-3com-njack.c \ + ... + </programlisting> + becomes + <programlisting> +CLEAN_DISSECTOR_SRC = \ + packet-test-idl.c \ + packet-2dparityfec.c \ + packet-3com-njack.c \ + ... + </programlisting> </para> + <para> + For the next steps, go up to the top of your Wireshark source directory. + </para> </listitem> <listitem> <para>Run configure |