Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
e958203796650e3959a43708d67534bf36f4c83b
/
.
/
package
/
network
/
services
/
odhcpd
/
patches
/
030-fix-sig11-error.patch
blob: 842dc57af58c6cfe194da198fbc99a6297d09683 [
file
] [
log
] [
blame
]
---
a
/
src
/
netlink
.
c
+++
b
/
src
/
netlink
.
c
@@
-
751
,
7
+
751
,
7
@@
ssize_t
netlink_get_interface_addrs
(
int
while
(
ctxt
.
pending
>
0
)
nl_recvmsgs
(
rtnl_socket
,
cb
);
-
if
(
ctxt
.
ret
<=
0
)
+
if
(
ctxt
.
ret
<=
0
||
!*
addrs
)
goto
free
;
time_t
now
=
odhcpd_time
();