Message ID | 20231220055613.2287074-2-gerickson@nuovations.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | Address Unhandled Gateway Route Lifecycle Events/Transitions | expand |
diff --git a/src/inet.c b/src/inet.c index e0f927a12dcb..8a1e34235230 100644 --- a/src/inet.c +++ b/src/inet.c @@ -4748,6 +4748,12 @@ static int iproute_default_modify(int cmd, uint32_t table_id, uint32_t metric, goto done; ret = __connman_inet_rtnl_send(&rth, &rth.req.n); + if (ret < 0) + goto done; + + ret = __connman_inet_rtnl_recv(&rth, NULL); + if (ret < 0) + goto done; done: __connman_inet_rtnl_close(&rth);