We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 101067a commit 9caf498Copy full SHA for 9caf498
internal/device-agent/runtimeconfig/runtimeconfig.go
@@ -257,8 +257,11 @@ func (r *runtimeConfig) LoadEnrollConfig() error {
257
return err
258
}
259
260
- if ec.DeviceIPv6 == "" || strings.HasPrefix(ec.DeviceIPv6, "fd") {
261
- return fmt.Errorf("bootstrap config does not contain a valid IPv6 address, should re-enroll")
+ // IPv6 is only enabled in NAV
+ if strings.EqualFold(r.GetActiveTenant().Name, "NAV") {
262
+ if ec.DeviceIPv6 == "" || strings.HasPrefix(ec.DeviceIPv6, "fd") {
263
+ return fmt.Errorf("bootstrap config does not contain a valid IPv6 address, should re-enroll")
264
+ }
265
266
267
r.enrollConfig = ec
0 commit comments