commit | 9ea33d385c6866307a3b2133b5f8fff4cb139fe4 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sun Jan 23 18:43:02 2011 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Sun Jan 23 18:43:02 2011 +0100 |
tree | 84d9ad48f0da6b541334d46ea1f0c4fce922def0 | |
parent | bb07a348c4c30fa90f3511aaafc9eaf0844e3a10 [diff] |
[MGW NAT] fix supervisor parameter passing, double-list for doubly-apply There are two successive iterations of apply() being called, one by the supervisor:start_one_child() logic, and the second time inside the mgw_nat_usr:init() function calling sctp_handler:init(). To make sure our list survives this as list instead of sequence of arguments, we need to double-[] quote it.