aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-08-23 12:50:19 -0700
committerGuy Harris <guy@alum.mit.edu>2010-08-23 12:50:19 -0700
commit00f5d74bb968c6bc7beab3a4cc2e006f4006532e (patch)
tree9d61ab6f5bd8d0701797f1de5f13d25517e57257 /pcap-linux.c
parente84ae717b43fe3e51872e6a46f4f5740c24e4aa9 (diff)
Fixes from Scott Mcmillan.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c4
1 files changed, 2 insertions, 2 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: