2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2021-08-30 17:45:55 +01:00
|
|
|
|
2022-11-07 15:33:23 +00:00
|
|
|
//go:build go1.19 && (linux || darwin || freebsd || openbsd) && !ts_omit_bird
|
2021-08-30 17:45:55 +01:00
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"tailscale.com/chirp"
|
|
|
|
"tailscale.com/wgengine"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
createBIRDClient = func(ctlSocket string) (wgengine.BIRDClient, error) {
|
|
|
|
return chirp.New(ctlSocket)
|
|
|
|
}
|
|
|
|
}
|