summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/libip6t_fuzzy.c7
-rw-r--r--extensions/libipt_fuzzy.c6
2 files changed, 9 insertions, 4 deletions
diff --git a/extensions/libip6t_fuzzy.c b/extensions/libip6t_fuzzy.c
index 0d7b8b14..95a59cb3 100644
--- a/extensions/libip6t_fuzzy.c
+++ b/extensions/libip6t_fuzzy.c
@@ -7,6 +7,9 @@
2002-08-07 Hime Aguiar e Oliveira Jr. <hime@engineer.com> : Initial version.
2003-04-08 Maciej Soltysiak <solt@dns.toxicfilms.tv> : IPv6 Port
+2003-06-09 Hime Aguiar e Oliveira Jr. <hime@engineer.com> : Bug corrections in
+the save function , thanks to information given by Jean-Francois Patenaude.
+
*/
#include <stdio.h>
@@ -131,8 +134,8 @@ save(const struct ip6t_ip6 *ipv6, const struct ip6t_entry_match *match)
const struct ip6t_fuzzy_info *fuzzyinfo
= (const struct ip6t_fuzzy_info *)match->data;
- printf("--upper-limit %u ",fuzzyinfo->minimum_rate);
- printf("--lower-limit %u ",fuzzyinfo->maximum_rate);
+ printf("--lower-limit %u ",fuzzyinfo->minimum_rate);
+ printf("--upper-limit %u ",fuzzyinfo->maximum_rate);
}
diff --git a/extensions/libipt_fuzzy.c b/extensions/libipt_fuzzy.c
index 745d159c..6ebcb9f4 100644
--- a/extensions/libipt_fuzzy.c
+++ b/extensions/libipt_fuzzy.c
@@ -6,6 +6,8 @@
ftp://prep.ai.mit.edu/pub/gnu/GPL
2002-08-07 Hime Aguiar e Oliveira Jr. <hime@engineer.com> : Initial version.
+2003-06-09 Hime Aguiar e Oliveira Jr. <hime@engineer.com> : Bug corrections in
+the save function , thanks to information given by Jean-Francois Patenaude .
*/
@@ -131,8 +133,8 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
const struct ipt_fuzzy_info *fuzzyinfo
= (const struct ipt_fuzzy_info *)match->data;
- printf("--upper-limit %u ",fuzzyinfo->minimum_rate);
- printf("--lower-limit %u ",fuzzyinfo->maximum_rate);
+ printf("--lower-limit %u ",fuzzyinfo->minimum_rate);
+ printf("--upper-limit %u ",fuzzyinfo->maximum_rate);
}