summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-08-16 15:29:44 +0000
committerJoshua Colp <jcolp@digium.com>2007-08-16 15:29:44 +0000
commit3f998a86a11df4f3d40f00760d4c360b9548e646 (patch)
treefa36682c29b71c1e6846ccaf5655efe348eaac0a /pbx
parentb10671b0b8d4db2a83ebad32c76f797d30efba64 (diff)
(closes issue #10467)
Reported by: lunn Patches: pbx_dundi.diff uploaded by lunn (license 179) Don't print a warning saying an ethernet interface was found when it indeed was. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_dundi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 41866f0c9..c077f4d5d 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -415,7 +415,8 @@ static void reset_global_eid(void)
ast_log(LOG_DEBUG, "Seeding global EID '%s' from '%s'\n",
dundi_eid_to_str(eid_str, sizeof(eid_str), &global_eid), ifr.ifr_name);
}
- break;
+ close(s);
+ return;
}
close(s);
#else