BIND 10 trac1237, updated. dc2ae81fef04a1d3ec94ea5e75009393266107fa [1237] Reading interfaces.txt file is now optional.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Dec 23 11:17:15 UTC 2011
The branch, trac1237 has been updated
via dc2ae81fef04a1d3ec94ea5e75009393266107fa (commit)
from f4e31621d8dbfe3742cc62c8d5435147f7f1b96a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dc2ae81fef04a1d3ec94ea5e75009393266107fa
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Fri Dec 23 12:16:43 2011 +0100
[1237] Reading interfaces.txt file is now optional.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/iface_mgr.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/iface_mgr.cc b/src/lib/dhcp/iface_mgr.cc
index 7a084b7..c7cfa84 100644
--- a/src/lib/dhcp/iface_mgr.cc
+++ b/src/lib/dhcp/iface_mgr.cc
@@ -169,8 +169,8 @@ IfaceMgr::stubDetectIfaces() {
ifstream interfaces("interfaces.txt");
if (!interfaces.good()) {
- cout << "Failed to read interfaces.txt file." << endl;
- isc_throw(Unexpected, "Failed to read interfaces.txt");
+ cout << "interfaces.txt file is not available. Stub interface detection skipped." << endl;
+ return;
}
interfaces >> ifaceName;
interfaces >> linkLocal;
More information about the bind10-changes
mailing list