summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth2015-04-14 10:08:43 +0000
committerSteven Barth2015-04-14 10:08:43 +0000
commit9227cae2c50fd039d9af3df338859ceb0e114db0 (patch)
tree12f35b2edcdd8bd01fd2fd62bfb0ec6539caedae
parent2302e0b0b7a5b1971387e16743b39b34e591958e (diff)
downloadrouting-9227cae2c50fd039d9af3df338859ceb0e114db0.tar.gz
miniupnpd: fix patch in last commit
Signed-off-by: Steven Barth <steven@midlink.org>
-rw-r--r--miniupnpd/patches/001-fix-get_portmappings_in_range-in-non-expand-case.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/miniupnpd/patches/001-fix-get_portmappings_in_range-in-non-expand-case.patch b/miniupnpd/patches/001-fix-get_portmappings_in_range-in-non-expand-case.patch
index 46409a1..ff45ee3 100644
--- a/miniupnpd/patches/001-fix-get_portmappings_in_range-in-non-expand-case.patch
+++ b/miniupnpd/patches/001-fix-get_portmappings_in_range-in-non-expand-case.patch
@@ -7,13 +7,13 @@ In get_portmappings_in_range(), array[] is not updated when
realloc() is not called, hence get_portmappings_in_range() is
always null. This fix changes to fill array[].
---
- miniupnpd/netfilter/iptcrdr.c | 4 ++--
+ netfilter/iptcrdr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-diff --git a/miniupnpd/netfilter/iptcrdr.c b/miniupnpd/netfilter/iptcrdr.c
+diff --git a/netfilter/iptcrdr.c b/netfilter/iptcrdr.c
index 99678e7..c7b8b7b 100644
---- a/miniupnpd/netfilter/iptcrdr.c
-+++ b/miniupnpd/netfilter/iptcrdr.c
+--- a/netfilter/iptcrdr.c
++++ b/netfilter/iptcrdr.c
@@ -1434,9 +1434,9 @@ get_portmappings_in_range(unsigned short startport, unsigned short endport,
break;
}