Merge pull request #553 from larsjohnsen/settings-bind-address-fix

Settings: Remove misleading placeholder, fix error-message
pull/235/merge
Mark McDowall 10 years ago
commit f547cfd0c9

@ -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