Merge branch 'master' of github.com:logstash/logstash

This commit is contained in:
Jordan Sissel 2011-02-26 21:55:39 -08:00
commit cb027f7acc
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ class LogStash::Inputs::Syslog < LogStash::Inputs::Base
config_name "syslog"
# TCP listen configuration
config :host, :validate => :ipaddr
config :host, :validate => :string
config :port, :validate => :number
public

View file

@ -7,7 +7,7 @@ class LogStash::Inputs::Tcp < LogStash::Inputs::Base
config_name "tcp"
config :host, :validate => :ipaddr
config :host, :validate => :string
config :port, :validate => :number, :required => true
config :data_timeout, :validate => :number