aboutsummaryrefslogtreecommitdiffstats
path: root/stacks/lwip_stack/src/nStackMain/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stacks/lwip_stack/src/nStackMain/main.c')
-rw-r--r--stacks/lwip_stack/src/nStackMain/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stacks/lwip_stack/src/nStackMain/main.c b/stacks/lwip_stack/src/nStackMain/main.c
index ec36b75..3bc0a3b 100644
--- a/stacks/lwip_stack/src/nStackMain/main.c
+++ b/stacks/lwip_stack/src/nStackMain/main.c
@@ -399,11 +399,13 @@ main (int argc, char *argv[])
if (0 != get_network_json_data ())
{
NSFW_LOGINF ("get_network_json_data error");
+ return -1;
}
if (0 != get_ip_json_data ())
{
NSFW_LOGINF ("get_ip_json_data error");
+ return -1;
}
int ep_thread = 0;