forked from osmocom/wireshark
Add support for comments in "process-x11-fields.pl", and add a copyright
notice/RCS ID/credit to Christophe to "x11-fields" as a comment. svn path=/trunk/; revision=3358
This commit is contained in:
parent
17449f1186
commit
3ccdaf841f
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
# Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
|
||||
#
|
||||
# $Id: process-x11-fields.pl,v 1.3 2001/04/20 19:20:31 guy Exp $
|
||||
# $Id: process-x11-fields.pl,v 1.4 2001/04/21 08:04:43 guy Exp $
|
||||
#
|
||||
# Ethereal - Network traffic analyzer
|
||||
# By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -51,6 +51,16 @@ while(<>) {
|
|||
}
|
||||
|
||||
@fields = split /\s+/o ;
|
||||
if ($fields[0] eq '#') {
|
||||
#
|
||||
# If the line begins with "#", treat it as a comment, by
|
||||
# ignoring it.
|
||||
#
|
||||
# (We don't support comments at the end of a line; that would
|
||||
# require some more pain in our simple parser.)
|
||||
#
|
||||
next;
|
||||
}
|
||||
$abbrev = shift @fields;
|
||||
$type = shift @fields;
|
||||
$lastAbbrev = $abbrev;
|
||||
|
|
26
x11-fields
26
x11-fields
|
@ -1,3 +1,29 @@
|
|||
#
|
||||
# Fields for X11 dissector.
|
||||
#
|
||||
# Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
|
||||
#
|
||||
# $Id: x11-fields,v 1.4 2001/04/21 08:04:43 guy Exp $
|
||||
#
|
||||
# Ethereal - Network traffic analyzer
|
||||
# By Gerald Combs <gerald@ethereal.com>
|
||||
# Copyright 1998 Gerald Combs
|
||||
#
|
||||
# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
|
||||
acceleration-denominator INT16 DEC
|
||||
acceleration-numerator INT16 DEC
|
||||
access-mode UINT8 DEC VALS
|
||||
|
|
Loading…
Reference in New Issue