diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/options.c | 2 | ||||
-rw-r--r-- | src/pconfig.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c index 84227ae..4d36a73 100644 --- a/src/options.c +++ b/src/options.c @@ -74,7 +74,7 @@ struct option_usage { static const struct option_usage usage[] = { /** --magic */ - {"magic", 0, OPT_HEX32, {.unum = 0xdeadc0de}, + {"magic", 0, OPT_HEX32, {.unum = kMagic_default}, "Set ptunnel magic hexadecimal number. (32-bit unsigned)\n" "It is an identifier for all ICMP/UDP packets\n" "and can be used to bypass Cisco IPS fingerprint scan.\n" diff --git a/src/pconfig.h b/src/pconfig.h index 140cad5..8c9fcba 100644 --- a/src/pconfig.h +++ b/src/pconfig.h @@ -47,6 +47,7 @@ #define PCONFIG_H 1 enum { + kMagic_default = 0xdeadc0de, /** Set this constant to the number of * concurrent connections you wish to handle by default. */ |