Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
e5ee6e78
Commit
e5ee6e78
authored
Dec 13, 2013
by
Tomek Mrugalski
🛰
Browse files
[2246] Solaris compilation fix
parent
ddfaf375
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/iface_mgr_sun.cc
View file @
e5ee6e78
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment