relayd: fix making incomplete instance json data
authorYousong Zhou <yszhou4tech@gmail.com>
Sat, 25 Feb 2017 12:07:27 +0000 (20:07 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Sat, 25 Feb 2017 12:16:59 +0000 (20:16 +0800)
commit699eedace08b54b0bb4592b88573314604c4c0f6
tree423189901f810fd2f47038ffd0c1d47f4d143eb1
parent699976e61d513e0509af1e614e0fdc807f6b66cb
relayd: fix making incomplete instance json data

Defer procd_open_instance only after validity check passed.

Fixes FS#541

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
package/network/services/relayd/Makefile
package/network/services/relayd/files/relay.init