small cleanups (#2017)

This commit is contained in:
Kristoffer Dalby
2024-07-19 09:21:14 +02:00
committed by GitHub
parent 11fde62b8c
commit ca47d6f353
2 changed files with 0 additions and 7 deletions

View File

@@ -619,7 +619,6 @@ func PrefixV4() (*netip.Prefix, error) {
builder := netipx.IPSetBuilder{}
builder.AddPrefix(tsaddr.CGNATRange())
builder.AddPrefix(tsaddr.TailscaleULARange())
ipSet, _ := builder.IPSet()
if !ipSet.ContainsPrefix(prefixV4) {
log.Warn().
@@ -643,7 +642,6 @@ func PrefixV6() (*netip.Prefix, error) {
}
builder := netipx.IPSetBuilder{}
builder.AddPrefix(tsaddr.CGNATRange())
builder.AddPrefix(tsaddr.TailscaleULARange())
ipSet, _ := builder.IPSet()