diff options
-rwxr-xr-x | packaging/connman.spec | 2 | ||||
-rwxr-xr-x | src/inet.c | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec index 0554f9a7..411a6510 100755 --- a/packaging/connman.spec +++ b/packaging/connman.spec @@ -5,7 +5,7 @@ Name: connman Version: 1.35 -Release: 26 +Release: 27 License: GPL-2.0+ Summary: Connection Manager Url: http://connman.net @@ -1341,10 +1341,9 @@ static int icmpv6_recv(int fd, struct xs_cb_data *data) /* Set Received Source Address from router as IPv6 Gateway Address */ char src_addr[INET6_ADDRSTRLEN]; if(inet_ntop(AF_INET6, &(saddr.sin6_addr), src_addr, INET6_ADDRSTRLEN) - == NULL) { - xs_cleanup(data); + == NULL) return -errno; - } + DBG("Received Source Address %s from router", src_addr); /* icmpv6_recv() function can be called in two scenarios : |