diff options
author | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-16 12:32:00 +0000 |
---|---|---|
committer | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-16 12:32:00 +0000 |
commit | 5a1e71bfa3326fc7d67876dfa280235e105f0aed (patch) | |
tree | 2e4c58af87108c5e30a66b2ac9b5c9b95b3821d2 /res/res_smdi.c | |
parent | d710973c82fb814fbc8cdbe370b2d9251a863aa9 (diff) |
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
Diffstat (limited to 'res/res_smdi.c')
-rw-r--r-- | res/res_smdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c index c37fc1eef..b8ff7808c 100644 --- a/res/res_smdi.c +++ b/res/res_smdi.c @@ -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")) { |