Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
fe662dfd
Commit
fe662dfd
authored
Apr 02, 1999
by
Martin Mareš
Browse files
Fixed `too many interfaces' cases.
parent
0498d92f
Changes
1
Hide whitespace changes
Inline
Side-by-side
sysdep/unix/krt-iface.c
View file @
fe662dfd
...
...
@@ -147,7 +147,7 @@ krt_if_scan(struct kif_proto *p)
res
=
ioctl
(
if_scan_sock
,
SIOCGIFCONF
,
&
ic
);
if
(
res
<
0
&&
errno
!=
EFAULT
)
die
(
"SIOCCGIFCONF: %m"
);
if
(
res
<
last_ifbuf_size
)
if
(
res
>=
0
&&
ic
.
ifc_len
<
last_ifbuf_size
)
{
scan_ifs
(
r
,
ic
.
ifc_len
);
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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