Added support for empty array as non-configured public address.

This commit is contained in:
Thulinma 2020-07-13 14:58:53 +02:00
parent cc95702a36
commit 90c9d16a32

View file

@ -462,6 +462,7 @@ namespace Mist {
}
if (prots.getIndice(i).hasMember("pubaddr") && prots.getIndice(i).getMember("pubaddr").getType() == DTSC_ARR){
pubAddrs = prots.getIndice(i).getMember("pubaddr").asJSON();
if (!pubAddrs.size()){pubAddrs.append("");}
}
if (mistPath.size()){
pubAddrs.null();