wgengine/filter: fix linter warning.

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
This commit is contained in:
Avery Pennarun 2020-04-30 06:16:53 -04:00
parent 5e5e5db75f
commit ee3395e63a

View File

@ -47,8 +47,7 @@ func (n Net) String() string {
var NetNone = Net{^IP(0), ^IP(0)}
func Netmask(bits int) IP {
var b uint32
b = ^uint32((1 << (32 - bits)) - 1)
b := ^uint32((1 << (32 - bits)) - 1)
return IP(b)
}