Skip to content

Commit

Permalink
required address field
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoja authored Apr 17, 2018
1 parent 96baf33 commit e298fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/filters/cidr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LogStash::Filters::CIDR < LogStash::Filters::Base
# network => [ "192.0.2.0/24" ]
# }
# }
config :address, :validate => :array, :default => []
config :address, :validate => :array, :default => [], :required => true

# The IP network(s) to check against. Example:
# [source,ruby]
Expand Down

0 comments on commit e298fa3

Please sign in to comment.