Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/tests/ipf/expected Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/9de4dde862a6
branches:  netbsd-7
changeset: 798643:9de4dde862a6
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 01 10:37:32 2014 +0000

description:
Pull up following revision(s) (requested by ozaki-r in ticket #278):
        tests/ipf/expected/n14: revision 1.6
        tests/ipf/expected/n14_6: revision 1.5
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 9930119ca3d3 -r 9de4dde862a6 tests/ipf/expected/n14
--- a/tests/ipf/expected/n14    Mon Dec 01 10:35:37 2014 +0000
+++ b/tests/ipf/expected/n14    Mon Dec 01 10:37:32 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 9930119ca3d3 -r 9de4dde862a6 tests/ipf/expected/n14_6
--- a/tests/ipf/expected/n14_6  Mon Dec 01 10:35:37 2014 +0000
+++ b/tests/ipf/expected/n14_6  Mon Dec 01 10:37:32 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