dect
/
asterisk
Archived
13
0
Fork 0

Show the interface name on error, if it is not found.

If the smdiport specified is not found, show the interface name
instead of '(null)'.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@200841 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
eliel 2009-06-16 12:32:00 +00:00
parent d710973c82
commit 5a1e71bfa3
1 changed files with 1 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@ static int smdi_load(int reload)
ASTOBJ_UNREF(iface, ast_smdi_interface_destroy);
if (!(iface = ASTOBJ_CONTAINER_FIND(&smdi_ifaces, v->value))) {
ast_log(LOG_NOTICE, "SMDI interface %s not found\n", iface->name);
ast_log(LOG_NOTICE, "SMDI interface %s not found\n", v->value);
continue;
}
} else if (!strcasecmp(v->name, "pollinginterval")) {