Skip to content

Commit

Permalink
Updated cuttlefish conf getter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Licenser committed Apr 14, 2014
1 parent e605929 commit c69beee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions priv/mdns_server.schema
Expand Up @@ -18,7 +18,7 @@
%% @doc The livetime of a broadcast, alsot he rebroadcast frequency
{mapping, "mdns.server.ttl", "mdns_server_lib.ttl",
[{default, 120},
{datatype, integer}]}.
{datatype, {duration, s}}]}.

%% @doc The handler that gets called for a tcp connections.
{mapping, "mdns.server.handler", "mdns_server_lib.handler",
Expand All @@ -29,7 +29,7 @@
{translation,
"mdns_server_lib.handler",
fun(Conf) ->
Setting = cuttlefish_util:conf_get_value("mdns.server.handler", Conf),
Setting = cuttlefish:conf_get("mdns.server.handler", Conf),
list_to_atom(Setting)
end
}.
Expand All @@ -43,7 +43,7 @@
{translation,
"mdns_server_lib.disabled",
fun(Conf) ->
case cuttlefish_util:conf_get_value("mdns.server", Conf) of
case cuttlefish:conf_get("mdns.server", Conf) of
enabled ->
false;
disabled ->
Expand Down

0 comments on commit c69beee

Please sign in to comment.