patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
21 lines
738 B
Diff
21 lines
738 B
Diff
Index: nat_cmd.c
|
|
===================================================================
|
|
RCS file: /mnt/ncvs/src/usr.sbin/ppp/nat_cmd.c,v
|
|
retrieving revision 1.49
|
|
retrieving revision 1.50
|
|
diff -u -r1.49 -r1.50
|
|
--- nat_cmd.c 2000/07/11 22:11:31 1.49
|
|
+++ nat_cmd.c 2000/10/30 18:02:01 1.50
|
|
@@ -421,7 +421,11 @@
|
|
break;
|
|
|
|
case PKT_ALIAS_IGNORED:
|
|
- if (log_IsKept(LogTCPIP)) {
|
|
+ if (PacketAliasSetMode(0, 0) & PKT_ALIAS_DENY_INCOMING) {
|
|
+ log_Printf(LogTCPIP, "NAT engine denied data:\n");
|
|
+ m_freem(bp);
|
|
+ bp = NULL;
|
|
+ } else if (log_IsKept(LogTCPIP)) {
|
|
log_Printf(LogTCPIP, "NAT engine ignored data:\n");
|
|
PacketCheck(bundle, MBUF_CTOP(bp), bp->m_len, NULL, NULL, NULL);
|
|
}
|