Module Name: src
Committed By: minskim
Date: Fri Aug 7 16:37:12 UTC 2009
Modified Files:
src/dist/pf/sbin/pflogd: pflogd.c
Log Message:
Correct the #ifdef test for struct ifdatareq.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/dist/pf/sbin/pflogd/pflogd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/dist/pf/sbin/pflogd/pflogd.c
diff -u src/dist/pf/sbin/pflogd/pflogd.c:1.6 src/dist/pf/sbin/pflogd/pflogd.c:1.7
--- src/dist/pf/sbin/pflogd/pflogd.c:1.6 Wed Jul 15 18:05:17 2009
+++ src/dist/pf/sbin/pflogd/pflogd.c Fri Aug 7 16:37:12 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pflogd.c,v 1.6 2009/07/15 18:05:17 christos Exp $ */
+/* $NetBSD: pflogd.c,v 1.7 2009/08/07 16:37:12 minskim Exp $ */
/* $OpenBSD: pflogd.c,v 1.45 2007/06/06 14:11:26 henning Exp $ */
/*
@@ -204,7 +204,7 @@
if_exists(char *ifname)
{
int s;
-#ifdef SIOCGZIFDATA
+#ifdef SIOCGIFDATA
struct ifdatareq ifr;
#define ifr_name ifdr_name
#else