aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'hst/config.go')
-rw-r--r--hst/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hst/config.go b/hst/config.go
index ee31a555..d7078551 100644
--- a/hst/config.go
+++ b/hst/config.go
@@ -59,7 +59,7 @@ func (config *Config) Validate() error {
}
// this is checked again in hsu
- if config.Identity < IdentityMin || config.Identity > IdentityMax {
+ if config.Identity < IdentityStart || config.Identity > IdentityEnd {
return &AppError{Step: "validate configuration", Err: ErrIdentityBounds,
Msg: "identity " + strconv.Itoa(config.Identity) + " out of range"}
}