Skip to content

Commit

Permalink
fix indentation for forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
lmagyar committed Jan 27, 2025
1 parent b7b7cf6 commit 79e04b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tailscale/rootfs/etc/s6-overlay/s6-rc.d/forwarding/finish
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ function remove_forwarding() {

# Tailscale's IP addresses
if ! from_address_ipv4=$(/opt/tailscale ip -4); then
bashio::log.warning "Failed to retrieve Tailscale's IPv4 address"
bashio::log.warning "Failed to retrieve Tailscale's IPv4 address"
fi
if ! from_address_ipv6=$(/opt/tailscale ip -6); then
bashio::log.warning "Failed to retrieve Tailscale's IPv6 address"
bashio::log.warning "Failed to retrieve Tailscale's IPv6 address"
fi

remove_forwarding "iptables" "IPv4" "${from_address_ipv4}" "32"
Expand Down
4 changes: 2 additions & 2 deletions tailscale/rootfs/etc/s6-overlay/s6-rc.d/forwarding/run
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ function setup_forwarding() {

# Tailscale's IP addresses
if ! from_address_ipv4=$(/opt/tailscale ip -4); then
bashio::log.warning "Failed to retrieve Tailscale's IPv4 address"
bashio::log.warning "Failed to retrieve Tailscale's IPv4 address"
fi
if ! from_address_ipv6=$(/opt/tailscale ip -6); then
bashio::log.warning "Failed to retrieve Tailscale's IPv6 address"
bashio::log.warning "Failed to retrieve Tailscale's IPv6 address"
fi

# Host's IP addresses
Expand Down

0 comments on commit 79e04b2

Please sign in to comment.