Skip to content

Commit

Permalink
fix: dynamic neighbor connect failed with auth-password and wildcard …
Browse files Browse the repository at this point in the history
…mask
  • Loading branch information
ic0xgkk authored and fujita committed Dec 18, 2024
1 parent 87e35db commit 9bd953a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/sockopt_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func setTCPMD5SigSockopt(l *net.TCPListener, address string, key string) error {
if err := sc.Control(func(s uintptr) {
opt := unix.TCP_MD5SIG

if t.Prefixlen != 0 {
if strings.Contains(address, "/") {
opt = unix.TCP_MD5SIG_EXT
}

Expand Down

0 comments on commit 9bd953a

Please sign in to comment.