mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-07 06:52:35 +00:00
Merge pull request #553 from larsjohnsen/settings-bind-address-fix
Settings: Remove misleading placeholder, fix error-message
This commit is contained in:
commit
f547cfd0c9
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ public static IRuleBuilderOptions<T, string> ValidIp4Address<T>(this IRuleBuilde
|
||||||
}
|
}
|
||||||
|
|
||||||
return parsedAddress.AddressFamily == AddressFamily.InterNetwork;
|
return parsedAddress.AddressFamily == AddressFamily.InterNetwork;
|
||||||
}).WithMessage("Must be a valid IPv4 Address");
|
}).WithMessage("Must contain wildcard (*) or a valid IPv4 Address");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IRuleBuilderOptions<T, string> NotListenAllIp4Address<T>(this IRuleBuilder<T, string> ruleBuilder)
|
public static IRuleBuilderOptions<T, string> NotListenAllIp4Address<T>(this IRuleBuilder<T, string> ruleBuilder)
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-4 col-sm-pull-1">
|
<div class="col-sm-4 col-sm-pull-1">
|
||||||
<input type="text" placeholder="*" name="bindAddress" class="form-control" />
|
<input type="text" name="bindAddress" class="form-control" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue