Skip to content

Commit

Permalink
Merge pull request #2 from thunderstorm99/patch-1
Browse files Browse the repository at this point in the history
Blacklisted fd00 address.
  • Loading branch information
gtwy committed Sep 16, 2019
2 parents 015c636 + db4e323 commit 915dc90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoconf-duckdns6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ duck6conf="$HOME"/.duck6.conf

# Probe IPv4 and IPv6 addresses
read -r _ _ _ _ iface _ ipv4local <<<"$(ip r g 8.8.8.8 | head -1)"
ipv6addr=$(ip addr show dev "$iface" | sed -e's/^.*inet6 \([^ ]*\)\/.*$/\1/;t;d' | grep -v '^fe80' | head -1)
ipv6addr=$(ip addr show dev "$iface" | sed -e's/^.*inet6 \([^ ]*\)\/.*$/\1/;t;d' | grep -v '^fd00' | grep -v '^fe80' | head -1)

# Does .duck6.conf exist?
if [[ -f "$duck6conf" ]] ; then
Expand Down

0 comments on commit 915dc90

Please sign in to comment.