diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 19:23:44 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 19:33:35 +0200 |
commit | 28c7eb43358df44ab010f6b7ace2849647d9126c (patch) | |
tree | 27c070bfde2bd67472ee7ff4eb82e04006e66ba7 /allowedips.go | |
parent | 7a1a537f4344129b9a1fabb0c66c61963e605e45 (diff) |
Print utun name on darwin
Diffstat (limited to 'allowedips.go')
-rw-r--r-- | allowedips.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/allowedips.go b/allowedips.go index 5b1565e..92a6f1d 100644 --- a/allowedips.go +++ b/allowedips.go @@ -184,7 +184,7 @@ func (node *trieEntry) entriesForPeer(p *Peer, results []net.IPNet) []net.IPNet mask := net.CIDRMask(int(node.cidr), len(node.bits)*8) results = append(results, net.IPNet{ Mask: mask, - IP: node.bits.Mask(mask), + IP: node.bits.Mask(mask), }) } results = node.child[0].entriesForPeer(p, results) |