Settings: Remove misleading placeholder, fix error-message

pull/4/head
Lars 10 years ago
parent e5278a0243
commit 00ba19d683

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Validation
} }
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…
Cancel
Save