chiark / gitweb /
test-example: Switch to testing IPv6 too
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 19 Sep 2014 22:15:38 +0000 (23:15 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Sep 2014 17:48:14 +0000 (18:48 +0100)
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@chiark.greenend.org.uk>
test-example/sites

index 648819b438eaeff5072fe7b8445ebfd6717fabcd..ce09298afa0b57fd4c9d59781260703fa4abcdc5 100644 (file)
@@ -11,7 +11,7 @@ location outside root
 site outside
   networks 172.18.232.0/29
   peer 172.18.232.1
 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@example.com
 
 location inside root
   pubkey 1024 65537 129251483458784900555621175262818292872587807329014927540074484804119474262261383244074013537736576331652560727149001626325243856012659665194546933097292703586821422085819615124517093786704646988649444946154384037948502112302285511195679291084694375811092516151263088200304199780052361048758446082354317801941 outside@example.com
 
 location inside root