add trusted mac status to status text

Signed-off-by liudengfeng@kunteng.org
This commit is contained in:
liudf0716 2017-11-13 15:28:10 +08:00
parent 176ddedf54
commit 13b5677154

View File

@ -390,7 +390,7 @@ get_status_text()
pstr_cat(pstr, "\nTrusted MAC addresses:\n");
for (p = config->trustedmaclist; p != NULL; p = p->next) {
pstr_append_sprintf(pstr, " %s\n", p->mac);
pstr_append_sprintf(pstr, " %s status: %d\n", p->mac, p->is_online);
}
}