From 9341145987e9f7559789e390f3f284a1e3fd14cd Mon Sep 17 00:00:00 2001 From: ozaki-r Date: Tue, 25 Nov 2014 08:25:46 +0000 Subject: [PATCH] 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@. --- tests/ipf/expected/n14 | 6 +++--- tests/ipf/expected/n14_6 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/ipf/expected/n14 b/tests/ipf/expected/n14 index 7b1a19ea931a..14e1401d0661 100644 --- a/tests/ipf/expected/n14 +++ b/tests/ipf/expected/n14 @@ -11,9 +11,9 @@ RDR 10.1.1.253 80 <- -> 203.1.1.1 80 [10.2.2.6 2000] 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 --git a/tests/ipf/expected/n14_6 b/tests/ipf/expected/n14_6 index b999ee971d80..c177b626201e 100644 --- a/tests/ipf/expected/n14_6 +++ b/tests/ipf/expected/n14_6 @@ -11,9 +11,9 @@ RDR 10:1:1::253 80 <- -> 203:0:1::1:1 80 [10::2:2:6 2000] 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