aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-09-16 19:20:06 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2010-09-16 19:20:06 +0000
commite44e7544c6768f4aca88b4d81ab5fdd8f1578fdc (patch)
treec9bf130aae742b288f2617e5d9f61a4dac4dc245 /editcap.c
parentf5e36d54075275fe27fbd2fcb0730e55c5d20785 (diff)
Turn on ASLR via /DYNAMICBASE and DEP via SetProcessDEPPolicy().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34137 f5534014-38df-0310-8fa8-9805f1628bb7
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;