aboutsummaryrefslogtreecommitdiffstats
path: root/tools/parse_xml2skinny_dissector.py
diff options
context:
space:
mode:
authorDiederik de Groot <ddegroot@talon.nl>2014-08-24 21:46:18 +0200
committerAnders Broman <a.broman58@gmail.com>2014-08-25 04:23:17 +0000
commit7fab56afb5b1244102f7e07670a84c86ec6c6121 (patch)
treed881d690634a0c3ac2871aacd5121eafde880767 /tools/parse_xml2skinny_dissector.py
parent549f5c401cd589db57440ea596f757e2834e0a52 (diff)
Skinny: packet-skinny
Add tools path to the python search path, fixing cog.py generation of package-skinny.c from packet-skinny.c.in Add GPLv2 License to parse_xml2skinny_dissector.py Change-Id: I91b76867b02d8cebc40bba35151db48bc2fcaeca Reviewed-on: https://code.wireshark.org/review/3819 Reviewed-by: Evan Huus <eapache@gmail.com> Petri-Dish: Evan Huus <eapache@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools/parse_xml2skinny_dissector.py')
-rwxr-xr-xtools/parse_xml2skinny_dissector.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/parse_xml2skinny_dissector.py b/tools/parse_xml2skinny_dissector.py
index 02a5bbf346..7be1f1e266 100755
--- a/tools/parse_xml2skinny_dissector.py
+++ b/tools/parse_xml2skinny_dissector.py
@@ -17,6 +17,20 @@
# See: http://nedbatchelder.com/code/cog/
#
#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
import re
import xml.sax.handler