Skip to content

Commit b2f6836

Browse files
authored
Merge pull request #5465 from pedrofaustino/patch-1
Display error messages if IPv4 or IPv6 address not found on nymtun0
2 parents 87e429d + 0d397ab commit b2f6836

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/network_tunnel_manager.sh

+4
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ joke_through_tunnel() {
167167
else
168168
echo -e "${red}IPv4 connectivity is not working for $interface. verify your routing and NAT settings.${reset}"
169169
fi
170+
else
171+
echo -e "${red}no IPv4 address found on $interface. unable to fetch a joke via IPv4.${reset}"
170172
fi
171173

172174
if [[ -n "$ipv6_address" ]]; then
@@ -183,6 +185,8 @@ joke_through_tunnel() {
183185
else
184186
echo -e "${red}IPv6 connectivity is not working for $interface. verify your routing and NAT settings.${reset}"
185187
fi
188+
else
189+
echo -e "${red}no IPv6 address found on $interface. unable to fetch a joke via IPv6.${reset}"
186190
fi
187191

188192
echo -e "${green}joke fetching processes completed for $interface.${reset}"

0 commit comments

Comments
 (0)