]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
ntp: fix debug message about unknown HW timestamping ifindex
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 30 Jun 2017 13:39:10 +0000 (15:39 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 30 Jun 2017 15:01:06 +0000 (17:01 +0200)
ntp_io_linux.c

index 736aea54430bccbfb57f1e87b4f29cb3a1242301..cee5890ca1ca7b2ec758bd40e4984930adb45017 100644 (file)
@@ -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);
         }
       }