- If a default IPv6 route is found, query the ip:port defined by `IPV6_CHECK_ADDRESS` to check for internet access
15 lines
208 B
Go
15 lines
208 B
Go
package cli
|
|
|
|
import (
|
|
"context"
|
|
"net/netip"
|
|
)
|
|
|
|
type noopFirewall struct{}
|
|
|
|
func (f *noopFirewall) AcceptOutput(_ context.Context, _, _ string, _ netip.Addr,
|
|
_ uint16, _ bool,
|
|
) (err error) {
|
|
return nil
|
|
}
|