aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'conf/config.go')
-rw-r--r--conf/config.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/conf/config.go b/conf/config.go
index b26dd09d..5b3496b6 100644
--- a/conf/config.go
+++ b/conf/config.go
@@ -67,9 +67,8 @@ func (r *IPCidr) String() string {
func (r *IPCidr) Bits() uint8 {
if r.IP.To4() != nil {
return 32
- } else {
- return 128
}
+ return 128
}
func (r *IPCidr) IPNet() net.IPNet {