Fixes from Scott Mcmillan.
This commit is contained in:
parent
e84ae717b4
commit
00f5d74bb9
|
@ -435,7 +435,7 @@ pcap_create(const char *device, char *ebuf)
|
|||
}
|
||||
handle->tstamp_type_list[0] = PCAP_TSTAMP_HOST;
|
||||
handle->tstamp_type_list[1] = PCAP_TSTAMP_ADAPTER;
|
||||
handle->tstamp_type_list[2] = PCAP_TSTAMP_ADAPTER_UNSYNC;
|
||||
handle->tstamp_type_list[2] = PCAP_TSTAMP_ADAPTER_UNSYNCED;
|
||||
#endif
|
||||
|
||||
return handle;
|
||||
|
@ -3234,7 +3234,7 @@ create_ring(pcap_t *handle, int *status)
|
|||
* time stamps. We'll just fall back
|
||||
* on the standard host time stamps.
|
||||
*/
|
||||
*status = PCAP_WARNING_TSTAMP_TYPE_NOTSUP:
|
||||
*status = PCAP_WARNING_TSTAMP_TYPE_NOTSUP;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
@ -116,7 +116,7 @@ Time stamp provided by the network adapter on which the capture is being
|
|||
done. This is a high-precision time stamp, synchronized with the host
|
||||
operating system's clock.
|
||||
.TP 5
|
||||
.BR PCAP_TSTAMP_ADAPTER_UNSYNC
|
||||
.BR PCAP_TSTAMP_ADAPTER_UNSYNCED
|
||||
Time stamp provided by the network adapter on which the capture is being
|
||||
done. This is a high-precision time stamp; it is not synchronized with
|
||||
the host operating system's clock.
|
||||
|
|
|
@ -310,7 +310,7 @@ const char *pcap_tstamp_type_val_to_description(int);
|
|||
* PCAP_TSTAMP_ADAPTER is a high-precision time stamp supplied by the
|
||||
* capture device; it's synchronized with the system clock.
|
||||
*
|
||||
* PCAP_TSTAMP_ADAPTER_UNSYNC is a high-precision time stamp supplied by
|
||||
* PCAP_TSTAMP_ADAPTER_UNSYNCED is a high-precision time stamp supplied by
|
||||
* the capture device; it's not synchronized with the system clock.
|
||||
*
|
||||
* Note that time stamps synchronized with the system clock can go
|
||||
|
|
Reference in New Issue