lib/landrush/server.rb in landrush-0.9.0 vs lib/landrush/server.rb in landrush-0.10.0

- old
+ new

@@ -12,10 +12,11 @@ def self.port=(port) @port = port end def self.upstream_servers - [[:udp, "8.8.8.8", 53], [:tcp, "8.8.8.8", 53]] + # Doing collect to cast protocol to symbol because JSON store doesn't know about symbols + @upstream_servers ||= Store.config.get('upstream').collect {|i| [i[0].to_sym, i[1], i[2]]} end def self.interfaces [ [:udp, "0.0.0.0", port],