From e6504a559a97c90f976d0c18a645afa90b81d0cf Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 23 Jun 2020 18:06:50 +0200 Subject: added ptunnel-ng wireshark dissector Signed-off-by: Toni Uhlig --- src/options.c | 2 +- src/pconfig.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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. */ -- cgit v1.2.3