diff --git a/functions.sh b/functions.sh index 51ea99d..0fc28de 100644 --- a/functions.sh +++ b/functions.sh @@ -96,7 +96,7 @@ check_valid_ipv4() { get_default_iface_ipv4() { # Call this function with the name of the variable # you want to store the result in : - # default_iface_ipv4 myipv4 + # get_default_iface_ipv4 myipv4 # See https://www.linuxjournal.com/content/return-values-bash-functions local __resultvar=${1} local __default_iface=$(awk '$2 == 00000000 { print $1 }' /proc/net/route)