summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ip.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-28 02:46:26 +0000
committerbrian <brian@FreeBSD.org>1997-12-28 02:46:26 +0000
commit2d964343409ebf259f7e998d52ce2eca7495c1a7 (patch)
tree63ff3ae0c2f7caba1390bdac6e4d031eee65179a /usr.sbin/ppp/ip.c
parent02739ba22b04044c41093fcccb060ade5fd414dd (diff)
downloadFreeBSD-src-2d964343409ebf259f7e998d52ce2eca7495c1a7.zip
FreeBSD-src-2d964343409ebf259f7e998d52ce2eca7495c1a7.tar.gz
If a packet causes a dial, continue to test whether it's
blocked in the output filter. If so, proceed with the dial despite dropping the packet.
Diffstat (limited to 'usr.sbin/ppp/ip.c')
-rw-r--r--usr.sbin/ppp/ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c
index d3c9e6f..0c9df16 100644
--- a/usr.sbin/ppp/ip.c
+++ b/usr.sbin/ppp/ip.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ip.c,v 1.32 1997/11/22 03:37:33 brian Exp $
+ * $Id: ip.c,v 1.33 1997/12/24 09:29:01 brian Exp $
*
* TODO:
* o Return ICMP message for filterd packet
@@ -273,7 +273,7 @@ PacketCheck(char *cp, int nb, int direction)
int logit, loglen;
static char logbuf[200];
- logit = LogIsKept(LogTCPIP);
+ logit = LogIsKept(LogTCPIP) && direction != FL_DIAL;
loglen = 0;
pip = (struct ip *) cp;
OpenPOWER on IntegriCloud