Select the system clock whenever legacy hardware time stamps are used.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2011-11-27 14:21:23 +01:00
parent 56a5adc1cc
commit 429c126b58
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ static void usage(char *progname)
" -i [dev] interface device to use, for example 'eth0'\n"
" (may be specified multiple times)\n"
" -p [dev] PTP hardware clock device to use, default '%s'\n"
" (ignored when SOFTWARE time stamping is selected)\n\n",
" (ignored for SOFTWARE/LEGACY HW time stamping)\n\n",
progname, DEFAULT_PHC);
}
@ -131,7 +131,7 @@ int main(int argc, char *argv[])
iface[i].transport = transport;
iface[i].timestamping = timestamping;
}
if (timestamping == TS_SOFTWARE) {
if (timestamping == TS_SOFTWARE || timestamping == TS_LEGACY_HW) {
phc = NULL;
}