Skip to content

cmd/tailmixd: preserve a nil TUN interface in SOCKS mode - #9

Closed
AntoineGS wants to merge 1 commit into
maisem:mainfrom
AntoineGS:fix/socks-nil-tun
Closed

AntoineGS wants to merge 1 commit into
maisem:mainfrom
AntoineGS:fix/socks-nil-tun

Conversation

@AntoineGS

Copy link
Copy Markdown

While setting up tailmix it would panic on a nil pointer and cause it to constantly restart, this fixes the issue by only assigning the channel TUN to the interface when a device exists.

Also, thanks for this I had been looking for way to connect to multiple tailnets for a while :)

Only assign the channel TUN to the interface when a device exists.
Prevents a nil pointer panic.
@maisem

maisem commented Oct 16, 2026

Copy link
Copy Markdown
Owner

I have a slightly different fix in mind, but also there are other bugs in the SOCKS proxy mode that should be fixed in the next release.

@maisem maisem closed this Oct 16, 2026
@AntoineGS

Copy link
Copy Markdown
Author

Sounds good! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants