Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/tcpdump/dist protect variable with the macro th...
details: https://anonhg.NetBSD.org/src/rev/b1bb154c0905
branches: trunk
changeset: 351003:b1bb154c0905
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 30 13:15:43 2017 +0000
description:
protect variable with the macro that uses it.
diffstat:
external/bsd/tcpdump/dist/tcpdump.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 47d34d8a61ef -r b1bb154c0905 external/bsd/tcpdump/dist/tcpdump.c
--- a/external/bsd/tcpdump/dist/tcpdump.c Mon Jan 30 13:15:15 2017 +0000
+++ b/external/bsd/tcpdump/dist/tcpdump.c Mon Jan 30 13:15:43 2017 +0000
@@ -30,7 +30,7 @@
static const char copyright[] _U_ =
"@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
The Regents of the University of California. All rights reserved.\n";
-__RCSID("$NetBSD: tcpdump.c,v 1.13 2017/01/24 23:29:14 christos Exp $");
+__RCSID("$NetBSD: tcpdump.c,v 1.14 2017/01/30 13:15:43 christos Exp $");
#endif
/*
@@ -195,6 +195,7 @@
static void info(int);
static u_int packets_captured;
+#ifdef HAVE_PCAP_FINDALLDEVS
static const struct tok status_flags[] = {
#ifdef PCAP_IF_UP
{ PCAP_IF_UP, "Up" },
@@ -205,6 +206,7 @@
{ PCAP_IF_LOOPBACK, "Loopback" },
{ 0, NULL }
};
+#endif
static pcap_t *pd;
Home |
Main Index |
Thread Index |
Old Index