---
 src/inet.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/inet.c b/src/inet.c
index cd220ff..e06d9c8 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -2229,10 +2229,8 @@ static int inet_rtnl_recv(GIOChannel *chan, gpointer 
user_data)
 
                h = ptr;
 
-               if (!NLMSG_OK(h, len)) {
+               if (!NLMSG_OK(h, len))
                        return -1;
-                       break;
-               }
 
                if (h->nlmsg_seq != rth->seq) {
                        /* Skip this msg */
-- 
1.9.1

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to