diff mbox series

[37/90] inet: Leverage '__connman_inet_table2string'.

Message ID 20231206235056.322578-38-gerickson@nuovations.com (mailing list archive)
State Not Applicable, archived
Headers show
Series Add Gateway Low-priority Default Routes for Non-default Services | expand

Commit Message

Grant Erickson Dec. 6, 2023, 11:50 p.m. UTC
This leverages '__connman_inet_table2string' when logging the Routing
Netlink (rtnl) table identifier in 'iproute_default_modify'.
---
 src/inet.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/inet.c b/src/inet.c
index 74a5a78619b9..e135d1ad3cae 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -3205,7 +3205,9 @@  static int iproute_default_modify(int cmd, uint32_t table_id, int ifindex,
 	int family = connman_inet_check_ipaddress(gateway);
 	char *dst = NULL;
 
-	DBG("gateway %s/%u table %u", gateway, prefixlen, table_id);
+	DBG("gateway %s/%u table %u <%s>",
+		gateway, prefixlen,
+		table_id, __connman_inet_table2string(table_id));
 
 	switch (family) {
 	case AF_INET: