BIND 10 trac2246, updated. e5ee6e7893e6ecad5760759f85eb0650435f8dbf [2246] Solaris compilation fix
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Dec 13 13:04:40 UTC 2013
The branch, trac2246 has been updated
via e5ee6e7893e6ecad5760759f85eb0650435f8dbf (commit)
from ddfaf375356cb49e1c784ae66c7f223c60537652 (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 e5ee6e7893e6ecad5760759f85eb0650435f8dbf
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Fri Dec 13 14:04:17 2013 +0100
[2246] Solaris compilation fix
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/iface_mgr_sun.cc | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/iface_mgr_sun.cc b/src/lib/dhcp/iface_mgr_sun.cc
index 9476a7d..7c1b615 100644
--- a/src/lib/dhcp/iface_mgr_sun.cc
+++ b/src/lib/dhcp/iface_mgr_sun.cc
@@ -60,7 +60,8 @@ IfaceMgr::detectIfaces() {
isc_throw(Unexpected, "Interface " << ifname << " has no index");
}
- if((iface_iter = ifaces.find(ifname)) != iface.end()) {
+ iface_iter = ifaces.find(ifname);
+ if(iface_iter != ifaceLst.end()) {
continue;
}
@@ -71,7 +72,9 @@ IfaceMgr::detectIfaces() {
// Second lookup to get MAC and IP addresses
for (ifptr = iflist; ifptr != 0; ifptr = ifptr->ifa_next) {
- if ((itf = ifaces.find(ifptr->ifa_name)) == ifaces.end()) {
+
+ iface_iter = ifaces.find(ifptr->ifa_name);
+ if (iface_iter == ifaces.end()) {
continue;
}
// Common byte pointer for following data
More information about the bind10-changes
mailing list