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

Settings: Remove misleading placeholder, fix error-message
This commit is contained in:
Mark McDowall 2015-05-21 16:47:24 -07:00
commit f547cfd0c9
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -11,7 +11,7 @@
</div>
<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>