mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
tests: updated for change in IPv6 address assignment
This commit is contained in:
@@ -223,7 +223,7 @@ ipv4-netmask = 255.255.255.0
|
|||||||
#nbns = 192.168.1.3
|
#nbns = 192.168.1.3
|
||||||
|
|
||||||
# The IPv6 subnet that leases will be given from.
|
# The IPv6 subnet that leases will be given from.
|
||||||
ipv6-network = fd91:6d87:7341:dd6b::
|
ipv6-network = fc13:71:ea31:4b4e::
|
||||||
ipv6-prefix = 64
|
ipv6-prefix = 64
|
||||||
|
|
||||||
# The domains over which the provided DNS should be used. Use
|
# The domains over which the provided DNS should be used. Use
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ if test $? != 0;then
|
|||||||
stop
|
stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ping6 -w 5 fd91:6d87:7341:db6a:0:52:190c:be01
|
ping6 -w 5 fd91:6d87:7341:db6a:1950:2c2b:bd9d:6cef
|
||||||
if test $? != 0;then
|
if test $? != 0;then
|
||||||
kill $PID
|
kill $PID
|
||||||
echo "Cannot ping the IPv6 of ocserv"
|
echo "Cannot ping the IPv6 of ocserv"
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ if test $? != 0;then
|
|||||||
stop
|
stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ping6 -w 5 fd91:6d87:7341:dc6b:0:6:173c:7901
|
ping6 -w 5 fd91:6d87:7341:dc6b:fbd8:827b:1f6b:8f79
|
||||||
if test $? != 0;then
|
if test $? != 0;then
|
||||||
kill $PID
|
kill $PID
|
||||||
echo "Cannot ping the IPv6 of ocserv"
|
echo "Cannot ping the IPv6 of ocserv"
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ if test $? != 0;then
|
|||||||
stop
|
stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ping6 -w 5 fd91:6d87:7341:dd6b:0:52:190c:be01
|
ping6 -w 5 fc13:71:ea31:4b4e:1950:2c2b:bd9d:6cef
|
||||||
if test $? != 0;then
|
if test $? != 0;then
|
||||||
kill $PID
|
kill $PID
|
||||||
echo "Cannot ping the IPv6 of ocserv"
|
echo "Cannot ping the IPv6 of ocserv"
|
||||||
|
|||||||
Reference in New Issue
Block a user