summaryrefslogtreecommitdiff
path: root/package/rtsp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-27 10:45:02 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-27 10:45:02 +0200
commit42dd254f5937274f164a5a7c5fb3c1f80e38e7af (patch)
tree9d2f1aa0333e04af8493d6a5f533b6e243bf5d2b /package/rtsp
parent7f0a66667a815bb8e28b4c8b93666b92a667b485 (diff)
full build on Darwin fixes
Diffstat (limited to 'package/rtsp')
-rw-r--r--package/rtsp/src/nf_nat_rtsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/rtsp/src/nf_nat_rtsp.c b/package/rtsp/src/nf_nat_rtsp.c
index 9683e3c75..7f1e73b6f 100644
--- a/package/rtsp/src/nf_nat_rtsp.c
+++ b/package/rtsp/src/nf_nat_rtsp.c
@@ -472,7 +472,7 @@ help(struct sk_buff *skb, enum ip_conntrack_info ctinfo,
static void expected(struct nf_conn* ct, struct nf_conntrack_expect *exp)
{
- struct nf_nat_multi_range_compat mr;
+ struct nf_nat_ipv4_multi_range_compat mr;
u_int32_t newdstip, newsrcip, newip;
struct nf_conn *master = ct->master;
@@ -488,10 +488,10 @@ static void expected(struct nf_conn* ct, struct nf_conntrack_expect *exp)
mr.rangesize = 1;
// We don't want to manip the per-protocol, just the IPs.
- mr.range[0].flags = IP_NAT_RANGE_MAP_IPS;
+ mr.range[0].flags = NF_NAT_RANGE_MAP_IPS;
mr.range[0].min_ip = mr.range[0].max_ip = newip;
- nf_nat_setup_info(ct, &mr.range[0], IP_NAT_MANIP_DST);
+ nf_nat_setup_info(ct, &mr.range[0], NF_NAT_MANIP_DST);
}