[PATCH 31/31] test-example: Switch to testing IPv6 too

Ian Jackson ijackson at chiark.greenend.org.uk
Sat Sep 20 01:32:26 BST 2014


Make the published address of `outside' be ::1, rather than 127.0.0.1.
This means we can test both IPv4 and IPv6.

Signed-off-by: Ian Jackson <ijackson at chiark.greenend.org.uk>
---
 test-example/sites |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-example/sites b/test-example/sites
index 648819b..ce09298 100644
--- a/test-example/sites
+++ b/test-example/sites
@@ -11,7 +11,7 @@ location outside root
 site outside
   networks 172.18.232.0/29
   peer 172.18.232.1
-  address [127.0.0.1] 16900
+  address [::1] 16900
   pubkey 1024 65537 129251483458784900555621175262818292872587807329014927540074484804119474262261383244074013537736576331652560727149001626325243856012659665194546933097292703586821422085819615124517093786704646988649444946154384037948502112302285511195679291084694375811092516151263088200304199780052361048758446082354317801941 outside at example.com
 
 location inside root
-- 
1.7.10.4




More information about the sgo-software-discuss mailing list