mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-08 06:09:49 +00:00
Use an interface for udp conns (#901)
This commit is contained in:
parent
928731acfe
commit
3bbf5f4e67
17 changed files with 95 additions and 68 deletions
|
|
@ -37,7 +37,7 @@ func NewListenConfig(multi bool) net.ListenConfig {
|
|||
}
|
||||
}
|
||||
|
||||
func (u *Conn) Rebind() error {
|
||||
func (u *GenericConn) Rebind() error {
|
||||
file, err := u.File()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue