Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/ipf/expected Fix wrong expected outputs
details: https://anonhg.NetBSD.org/src/rev/04bb39eb6ab0
branches: trunk
changeset: 333993:04bb39eb6ab0
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Nov 25 08:25:46 2014 +0000
description:
Fix wrong expected outputs
IP addresses in the expected outputs looks reversed (in byte order).
It seems the expected outputs had been generated based on source code
with a bug and the bug was fixed by a commit titled "#534 destination
list hashing not endian neutral" by darrenr@.
diffstat:
tests/ipf/expected/n14 | 6 +++---
tests/ipf/expected/n14_6 | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (32 lines):
diff -r b52abac30cd0 -r 04bb39eb6ab0 tests/ipf/expected/n14
--- a/tests/ipf/expected/n14 Tue Nov 25 07:42:35 2014 +0000
+++ b/tests/ipf/expected/n14 Tue Nov 25 08:25:46 2014 +0000
@@ -11,9 +11,9 @@
RDR 10.1.1.254 80 <- -> 203.1.1.1 80 [10.2.2.5 2000]
Hostmap table:
-10.2.2.7,203.1.1.1 -> 254.1.1.10,0.0.0.0 (use = 1)
-10.2.2.6,203.1.1.1 -> 253.1.1.10,0.0.0.0 (use = 1)
-10.2.2.5,203.1.1.1 -> 254.1.1.10,0.0.0.0 (use = 1)
+10.2.2.7,203.1.1.1 -> 10.1.1.254,0.0.0.0 (use = 1)
+10.2.2.6,203.1.1.1 -> 10.1.1.253,0.0.0.0 (use = 1)
+10.2.2.5,203.1.1.1 -> 10.1.1.254,0.0.0.0 (use = 1)
List of active state sessions:
List of configured pools
List of configured hash tables
diff -r b52abac30cd0 -r 04bb39eb6ab0 tests/ipf/expected/n14_6
--- a/tests/ipf/expected/n14_6 Tue Nov 25 07:42:35 2014 +0000
+++ b/tests/ipf/expected/n14_6 Tue Nov 25 08:25:46 2014 +0000
@@ -11,9 +11,9 @@
RDR 10:1:1::254 80 <- -> 203:0:1::1:1 80 [10::2:2:5 2000]
Hostmap table:
-10::2:2:7,203:0:1:0:0:0:1:1 -> 254:1:1::10,any (use = 1)
-10::2:2:6,203:0:1:0:0:0:1:1 -> 253:0:1:0:0:0:1:10,any (use = 1)
-10::2:2:5,203:0:1:0:0:0:1:1 -> 254:1:1::10,any (use = 3)
+10::2:2:7,203:0:1:0:0:0:1:1 -> 10:1:1::254,any (use = 1)
+10::2:2:6,203:0:1:0:0:0:1:1 -> 10:0:1:0:0:0:1:253,any (use = 1)
+10::2:2:5,203:0:1:0:0:0:1:1 -> 10:1:1::254,any (use = 3)
List of active state sessions:
List of configured pools
List of configured hash tables
Home |
Main Index |
Thread Index |
Old Index