From: Harald Welte <laforge@netfilter.org>
Date: Mon, 19 Sep 2005 22:35:57 +0000 (-0700)
Subject: [NETFILTER]: Export ip_nat_port_{nfattr_to_range,range_to_nfattr}
X-Git-Tag: v2.6.14-rc2~2^2~3
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8922bc93aa78a202c2b68b2de19b71329cb321e1;p=linux-2.6-omap-h63xx.git

[NETFILTER]: Export ip_nat_port_{nfattr_to_range,range_to_nfattr}

Those exports are needed by the PPTP helper following in the next
couple of changes.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/net/ipv4/netfilter/ip_nat_core.c b/net/ipv4/netfilter/ip_nat_core.c
index 1adedb743f6..c3ea891d38e 100644
--- a/net/ipv4/netfilter/ip_nat_core.c
+++ b/net/ipv4/netfilter/ip_nat_core.c
@@ -578,6 +578,8 @@ ip_nat_port_nfattr_to_range(struct nfattr *tb[], struct ip_nat_range *range)
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(ip_nat_port_nfattr_to_range);
+EXPORT_SYMBOL_GPL(ip_nat_port_range_to_nfattr);
 #endif
 
 int __init ip_nat_init(void)