diff options
author | Patrick McHardy | 2006-05-30 03:26:47 +0200 |
---|---|---|
committer | David S. Miller | 2006-06-18 06:29:13 +0200 |
commit | e44ab66a75e20c02193440a5e27c16c91630109b (patch) | |
tree | 13aa30980b223b19720ff5d864d43e3708339fdc /net/ipv4/netfilter/ip_nat_sip.c | |
parent | [NETFILTER]: H.323 helper: Add support for Call Forwarding (diff) | |
download | kernel-qcow2-linux-e44ab66a75e20c02193440a5e27c16c91630109b.tar.gz kernel-qcow2-linux-e44ab66a75e20c02193440a5e27c16c91630109b.tar.xz kernel-qcow2-linux-e44ab66a75e20c02193440a5e27c16c91630109b.zip |
[NETFILTER]: H.323 helper: replace internal_net_addr parameter by routing-based heuristic
Call Forwarding doesn't need to create an expectation if both peers can
reach each other without our help. The internal_net_addr parameter
lets the user explicitly specify a single network where this is true,
but is not very flexible and even fails in the common case that calls
will both be forwarded to outside parties and inside parties. Use an
optional heuristic based on routing instead, the assumption is that
if bpth the outgoing device and the gateway are equal, both peers can
reach each other directly.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/ip_nat_sip.c')
0 files changed, 0 insertions, 0 deletions