Skip to content

Commit

Permalink
update ddns.sh include.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
xiagw committed Oct 27, 2024
1 parent 0cd7f18 commit f1f2a41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/ddns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ _get_config() {
_get_saved_ip() {
ip4_last=$(tail -n1 "$g_me_log" | awk '{print $4}')
ip6_last=$(tail -n1 "$g_me_log" | awk '{print $6}')
_msg "get old IPv4 from log file: $ip4_last"
_msg "get old IPv6 from log file: $ip6_last"
_msg yellow "get old IPv4 from log file: $ip4_last"
_msg yellow "get old IPv6 from log file: $ip6_last"
}

# address with netmask
Expand Down
4 changes: 2 additions & 2 deletions bin/include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ _get_current_ip() {
fi
;;
esac
_msg green "get IPv4: $ip4_current"
_msg green "get IPv6: $ip6_current"
_msg green "get current IPv4: $ip4_current"
_msg green "get current IPv6: $ip6_current"
}

_install_jmeter() {
Expand Down

0 comments on commit f1f2a41

Please sign in to comment.