Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advertise all supported interfaces as Tailscale Subnets #135

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

lmagyar
Copy link
Contributor

@lmagyar lmagyar commented Jan 9, 2023

Revives PR #116

Fixes #96

Proposed Changes

Advertise all supported interfaces as Tailscale Subnets not only the default interface.

Related Issues

#96

@lmagyar lmagyar changed the title Advertise all subnets Advertise all supported interfaces as Tailscale Subnets Jan 9, 2023
@lmagyar lmagyar force-pushed the advertise-all-subnets branch 2 times, most recently from 5f3df99 to e60839f Compare January 12, 2023 08:29
@github-actions
Copy link

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Feb 12, 2023
@lmagyar
Copy link
Contributor Author

lmagyar commented Feb 12, 2023

Not stale, waiting for review/merge...

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Feb 13, 2023
@github-actions
Copy link

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Mar 16, 2023
@lmagyar
Copy link
Contributor Author

lmagyar commented Mar 16, 2023

Not stale, waiting for review/merge...

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Mar 17, 2023
Comment on lines 12 to 21
function list::contains() {
local list=${1}
local item=${2}

if [[ "${list}" =~ (^|[[:space:]])"${item}"($|[[:space:]]) ]]; then
return 0
else
return 1
fi
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not directly use uniq?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I finally used sort -u.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@lmagyar lmagyar force-pushed the advertise-all-subnets branch from e60839f to 1072d28 Compare March 28, 2023 11:28
@frenck frenck added the enhancement Enhancement of the code, not introducing new features. label Mar 28, 2023
Copy link
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @lmagyar 👍

../Frenck

@frenck frenck merged commit 100a70d into hassio-addons:main Mar 28, 2023
@frenck frenck added the minor This PR causes a minor version bump in the version number. label Mar 28, 2023
@lmagyar lmagyar deleted the advertise-all-subnets branch March 29, 2023 08:58
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement of the code, not introducing new features. minor This PR causes a minor version bump in the version number.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only one of two subnets is advertised
2 participants