aboutsummaryrefslogtreecommitdiffstats
path: root/src/mgw_nat_app.erl
blob: f929ab4169e8ee5cc2e27279420a35d2f8112b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-module(mgw_nat_app).
-behavior(application).
-export([start/2, stop/1]).

-export([reload_config/0]).

start(_Type, _Args) ->
	Sup = mgw_nat_sup:start_link(),
	io:format("Sup ~p~n", [Sup]),
	Sup.

stop(_State) ->
	ok.

reload_config() ->
	osmo_util:reload_config(),
	mgw_nat_adm:reload_config().