summaryrefslogtreecommitdiff
path: root/editcap.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-09-16 19:20:06 +0000
committerGerald Combs <gerald@wireshark.org>2010-09-16 19:20:06 +0000
commita87bdf9660f26c48ed0024d7db286fee7ddf1280 (patch)
treec9bf130aae742b288f2617e5d9f61a4dac4dc245 /editcap.c
parent034f2739d22835e79b94c350839cdaee990339ae (diff)
downloadwireshark-a87bdf9660f26c48ed0024d7db286fee7ddf1280.tar.gz
Turn on ASLR via /DYNAMICBASE and DEP via SetProcessDEPPolicy().
svn path=/trunk/; revision=34137
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/editcap.c b/editcap.c
index 33201c4e18..53c39beb86 100644
--- a/editcap.c
+++ b/editcap.c
@@ -383,9 +383,9 @@ set_strict_time_adj(char *optarg_str_p)
optarg_str_p++;
}
- /*
- * check for a negative adjustment
- * A negative strict adjustment value is a flag
+ /*
+ * check for a negative adjustment
+ * A negative strict adjustment value is a flag
* to adjust all frames by the specifed delta time.
*/
if (*optarg_str_p == '-') {
@@ -807,7 +807,7 @@ main(int argc, char *argv[])
/*
* Get credential information for later use.
*/
- get_credential_info();
+ init_process_policies();
#ifdef HAVE_PLUGINS
/* Register wiretap plugins */
@@ -1226,9 +1226,9 @@ main(int argc, char *argv[])
phdr = &snap_phdr;
}
} else {
- /*
- * A negative strict time adjustment is requested.
- * Unconditionally set each timestamp to previous
+ /*
+ * A negative strict time adjustment is requested.
+ * Unconditionally set each timestamp to previous
* packet's timestamp plus delta.
*/
snap_phdr = *phdr;