From 3f998a86a11df4f3d40f00760d4c360b9548e646 Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Thu, 16 Aug 2007 15:29:44 +0000
Subject: [PATCH] (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
---
 pbx/pbx_dundi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 41866f0c95..c077f4d5d0 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
-- 
GitLab