BIND 10 trac2246, updated. d8045b5e1580a1d0b89a232fd61c10d25a95e769 [2246] Another Solaris 11 compilation fix
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Dec 13 18:46:13 UTC 2013
The branch, trac2246 has been updated
via d8045b5e1580a1d0b89a232fd61c10d25a95e769 (commit)
from 113fef862040f3c52e11071ae363e9016f30df0a (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 d8045b5e1580a1d0b89a232fd61c10d25a95e769
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Fri Dec 13 19:45:48 2013 +0100
[2246] Another Solaris 11 compilation fix
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/iface_mgr_sun.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/iface_mgr_sun.cc b/src/lib/dhcp/iface_mgr_sun.cc
index 7c1b615..fe2b0b3 100644
--- a/src/lib/dhcp/iface_mgr_sun.cc
+++ b/src/lib/dhcp/iface_mgr_sun.cc
@@ -54,14 +54,14 @@ IfaceMgr::detectIfaces() {
const char * ifname = ifptr->ifa_name;
uint ifindex = 0;
- if(!(ifindex = if_nametoindex(ifname))) {
+ if (!(ifindex = if_nametoindex(ifname))) {
// Interface name does not have corresponding index ...
freeifaddrs(iflist);
isc_throw(Unexpected, "Interface " << ifname << " has no index");
}
iface_iter = ifaces.find(ifname);
- if(iface_iter != ifaceLst.end()) {
+ if (iface_iter != ifaces.end()) {
continue;
}
@@ -79,7 +79,7 @@ IfaceMgr::detectIfaces() {
}
// Common byte pointer for following data
const uint8_t * ptr = 0;
- if(ifptr->ifa_addr->sa_family == AF_LINK) {
+ if (ifptr->ifa_addr->sa_family == AF_LINK) {
// HWAddr
struct sockaddr_dl * ldata =
reinterpret_cast<struct sockaddr_dl *>(ifptr->ifa_addr);
@@ -87,7 +87,7 @@ IfaceMgr::detectIfaces() {
iface_iter->second.setHWType(ldata->sdl_type);
iface_iter->second.setMac(ptr, ldata->sdl_alen);
- } else if(ifptr->ifa_addr->sa_family == AF_INET6) {
+ } else if (ifptr->ifa_addr->sa_family == AF_INET6) {
// IPv6 Addr
struct sockaddr_in6 * adata =
reinterpret_cast<struct sockaddr_in6 *>(ifptr->ifa_addr);
More information about the bind10-changes
mailing list