From 87a42a1e234b4f4d034fcde18a9e3aeebfdabc49 Mon Sep 17 00:00:00 2001 From: Datong Sun Date: Sat, 16 Apr 2022 09:52:07 -0700 Subject: [PATCH] fix(phantun) do not use the deprecated `fec0::/10` block for default ULA address --- phantun/src/bin/client.rs | 4 ++-- phantun/src/bin/server.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phantun/src/bin/client.rs b/phantun/src/bin/client.rs index fa881f7..9832b83 100644 --- a/phantun/src/bin/client.rs +++ b/phantun/src/bin/client.rs @@ -83,7 +83,7 @@ async fn main() -> io::Result<()> { .required(false) .value_name("IP") .help("Sets the Tun interface IPv6 local address (O/S's end)") - .default_value("fec8::1") + .default_value("fcc8::1") .takes_value(true), ) .arg( @@ -94,7 +94,7 @@ async fn main() -> io::Result<()> { .help("Sets the Tun interface IPv6 destination (peer) address (Phantun Client's end). \ You will need to setup SNAT/MASQUERADE rules on your Internet facing interface \ in order for Phantun Client to connect to Phantun Server") - .default_value("fec8::2") + .default_value("fcc8::2") .takes_value(true), ) .get_matches(); diff --git a/phantun/src/bin/server.rs b/phantun/src/bin/server.rs index 26eedea..59bd6b3 100644 --- a/phantun/src/bin/server.rs +++ b/phantun/src/bin/server.rs @@ -83,7 +83,7 @@ async fn main() -> io::Result<()> { .required(false) .value_name("IP") .help("Sets the Tun interface IPv6 local address (O/S's end)") - .default_value("fec9::1") + .default_value("fcc9::1") .takes_value(true), ) .arg( @@ -94,7 +94,7 @@ async fn main() -> io::Result<()> { .help("Sets the Tun interface IPv6 destination (peer) address (Phantun Client's end). \ You will need to setup SNAT/MASQUERADE rules on your Internet facing interface \ in order for Phantun Client to connect to Phantun Server") - .default_value("fec9::2") + .default_value("fcc9::2") .takes_value(true), ) .get_matches();