]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fixes from Scott Mcmillan.
authorGuy Harris <[email protected]>
Mon, 23 Aug 2010 19:50:19 +0000 (12:50 -0700)
committerGuy Harris <[email protected]>
Mon, 23 Aug 2010 19:50:19 +0000 (12:50 -0700)
pcap-linux.c
pcap-tstamp.manmisc.in
pcap/pcap.h

index 86891f74bdf47c3e1ab3762c10ae374ed2d68419..f8b3f106c572178808fd5ccf3e2e49304462118d 100644 (file)
@@ -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:
index dd63087fe002f856650c2607e5cca1e3138a16e9..167325cc6bb074ca3afd8d73914ca2444ede4bbd 100644 (file)
@@ -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.
index 67d107d2ae32e011d60cba6c113da20e599120f8..172670b33cf6341c5f97deb8cbc12c32b2eba115 100644 (file)
@@ -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