diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-08-23 12:50:19 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-08-23 12:50:19 -0700 |
commit | 00f5d74bb968c6bc7beab3a4cc2e006f4006532e (patch) | |
tree | 9d61ab6f5bd8d0701797f1de5f13d25517e57257 | |
parent | e84ae717b43fe3e51872e6a46f4f5740c24e4aa9 (diff) |
Fixes from Scott Mcmillan.
-rw-r--r-- | pcap-linux.c | 4 | ||||
-rw-r--r-- | pcap-tstamp.manmisc.in | 2 | ||||
-rw-r--r-- | pcap/pcap.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/pcap-linux.c b/pcap-linux.c index 86891f7..f8b3f10 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -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: diff --git a/pcap-tstamp.manmisc.in b/pcap-tstamp.manmisc.in index dd63087..167325c 100644 --- a/pcap-tstamp.manmisc.in +++ b/pcap-tstamp.manmisc.in @@ -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. diff --git a/pcap/pcap.h b/pcap/pcap.h index 67d107d..172670b 100644 --- a/pcap/pcap.h +++ b/pcap/pcap.h @@ -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 |