Skip to content

Commit

Permalink
Fixing detect IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
sanvu88 committed Jul 29, 2020
1 parent 297c4c4 commit fddf060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu/helpers/variable_common
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MENU_NAME="hostvn"
AUTHOR="HOSTVN.VN"
AUTHOR_WEB="HOSTVN.VN"
UPDATE_LINK="https://scripts.hostvn.net/update"
IPADDRESS=$(dig TXT +short o-o.myaddr.l.google.com @ns1.google.com | awk -F'"' '{ print $2}')
IPADDRESS=$(dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com | awk -F'"' '{ print $2}')
CURRENT_DATE=$(date +%Y-%m-%d)

# Set directory variables
Expand Down

0 comments on commit fddf060

Please sign in to comment.