From 0773a1e630a87c4a7d311fb78f3773b50bf75c1d Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 30 Jun 2017 15:39:10 +0200 Subject: [PATCH] ntp: fix debug message about unknown HW timestamping ifindex --- ntp_io_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntp_io_linux.c b/ntp_io_linux.c index 736aea5..cee5890 100644 --- a/ntp_io_linux.c +++ b/ntp_io_linux.c @@ -574,7 +574,7 @@ NIO_Linux_ProcessMessage(NTP_Remote_Address *remote_addr, NTP_Local_Address *loc process_hw_timestamp(iface, &ts3.ts[2], local_ts, !is_tx ? length : 0, remote_addr->ip_addr.family, l2_length); } else { - DEBUG_LOG("HW clock not found for interface %d", local_addr->if_index); + DEBUG_LOG("HW clock not found for interface %d", ts_if_index); } }