summaryrefslogtreecommitdiffstats
path: root/src/sg_as_sup.erl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-05-07 23:55:02 +0200
committerHarald Welte <laforge@gnumonks.org>2012-05-07 23:55:02 +0200
commitee7964c0f3356a1c6ffa7dd826e3cd08e369d469 (patch)
treede362bca60999d7d8e23b63493f489418aaef9d6 /src/sg_as_sup.erl
parent108c4b73f710a7cb83714c83c7e82a32172a4f15 (diff)
make the SG AS/ASP supervisor hierarchy work
Diffstat (limited to 'src/sg_as_sup.erl')
-rw-r--r--src/sg_as_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sg_as_sup.erl b/src/sg_as_sup.erl
index 96ab1b7..ee5f06c 100644
--- a/src/sg_as_sup.erl
+++ b/src/sg_as_sup.erl
@@ -39,7 +39,7 @@
init([Name, Options]) ->
AsName = list_to_atom("sg_as_" ++ Name ++ "_fsm"),
- StartArgs = [{local, AsName}, xua_as_fsm, [], Options],
+ StartArgs = [{local, AsName}, xua_as_fsm, [self()], Options],
StartFunc = {gen_fsm, start_link, StartArgs},
ChildSpec = {as_fsm, StartFunc, permanent, 4000, worker, [xua_as_fsm]},