forked from osmocom/wireshark
![Michael Mann](/assets/img/avatar_default.png)
As noted in https://www.wireshark.org/lists/wireshark-dev/201604/msg00103.html a protocol field isn't really a tv_buff, so allow for the possibility of a NULL tv_buff in a "protocol type". If the tvb is NULL, use the string of the protocol field for comparison Bug: 12335 Change-Id: Ie12a5f7b31c7293c61006b0f70135d100a97c4e0 Reviewed-on: https://code.wireshark.org/review/15261 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
48 lines
1.6 KiB
Makefile
48 lines
1.6 KiB
Makefile
# Makefile.common
|
|
# Contains the stuff from Makefile.am and Makefile.nmake that is
|
|
# a) common to both files and
|
|
# b) portable between both files
|
|
#
|
|
# Wireshark - Network traffic analyzer
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
# C source files that are part of the display filter source; this includes only
|
|
# .c files, not YACC or Lex or... files (as Makefile.nmake maps this list
|
|
# into a list of object files by replacing ".c" with ".obj") or files
|
|
# generated from YACC or Lex files (as Automake doesn't want them in
|
|
# _SOURCES variables).
|
|
NONGENERATED_C_FILES = \
|
|
ftypes.c \
|
|
ftype-bytes.c \
|
|
ftype-double.c \
|
|
ftype-ieee-11073-float.c \
|
|
ftype-integer.c \
|
|
ftype-ipv4.c \
|
|
ftype-ipv6.c \
|
|
ftype-guid.c \
|
|
ftype-none.c \
|
|
ftype-pcre.c \
|
|
ftype-protocol.c \
|
|
ftype-string.c \
|
|
ftype-time.c
|
|
|
|
# Header files that are not generated from other files
|
|
NONGENERATED_HEADER_FILES = \
|
|
ftypes.h \
|
|
ftypes-int.h
|