diff options
author | andre <andre@FreeBSD.org> | 2003-11-20 19:47:31 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2003-11-20 19:47:31 +0000 |
commit | 6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e (patch) | |
tree | c25b99029c9fbe87aa9d11209da4550fbc910838 /sys/netinet/ip_fastfwd.c | |
parent | 529995603c4d5d287b1446c3bde04f20544e7640 (diff) | |
download | FreeBSD-src-6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e.zip FreeBSD-src-6dca20de0718f19b3cdc5a7d5ebb71cd54b2374e.tar.gz |
Remove RTF_PRCLONING from routing table and adjust users of it
accordingly. The define is left intact for ABI compatibility
with userland.
This is a pre-step for the introduction of tcp_hostcache. The
network stack remains fully useable with this change.
Reviewed by: sam (mentor), bms
Reviewed by: -net, -current, core@kame.net (IPv6 parts)
Approved by: re (scottl)
Diffstat (limited to 'sys/netinet/ip_fastfwd.c')
-rw-r--r-- | sys/netinet/ip_fastfwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c index f831b39..667a04c 100644 --- a/sys/netinet/ip_fastfwd.c +++ b/sys/netinet/ip_fastfwd.c @@ -488,7 +488,7 @@ passin: dst->sin_family = AF_INET; dst->sin_len = sizeof(*dst); dst->sin_addr.s_addr = dest; - rtalloc_ign(&ro, (RTF_PRCLONING | RTF_CLONING)); + rtalloc_ign(&ro, RTF_CLONING); /* * Route there and interface still up? @@ -692,7 +692,7 @@ droptoours: /* Used for DIVERT */ dst->sin_family = AF_INET; dst->sin_len = sizeof(*dst); dst->sin_addr.s_addr = dest; - rtalloc_ign(&ro, (RTF_PRCLONING | RTF_CLONING)); + rtalloc_ign(&ro, RTF_CLONING); /* * Route there and interface still up? |