diff --git a/utils/mnet b/utils/mnet index 864d107..fc8b2b3 160000 --- a/utils/mnet +++ b/utils/mnet @@ -1 +1 @@ -Subproject commit 864d1078a4980f1a791998b154411bbe4128d9ee +Subproject commit fc8b2b372db8fc1e0fd257843ce4d14d6813adf4 diff --git a/utils/mnetftn/mnettoftn.c b/utils/mnetftn/mnettoftn.c index 2e7b412..1c62106 100644 --- a/utils/mnetftn/mnettoftn.c +++ b/utils/mnetftn/mnettoftn.c @@ -410,6 +410,9 @@ int import(char *filename) { } return 1; } else { + + areaid = -1; + for (i=0;iid) { areaid = i; @@ -417,6 +420,10 @@ int import(char *filename) { } } + if (areaid == -1) { + return 1; + } + if (areas[areaid]->hub == mynode) { if (msg.type == 1) { if (strncasecmp(body, "ADD", 3) == 0) {