aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-05-21 18:06:49 +0100
committerAnders Broman <a.broman58@gmail.com>2019-06-17 00:48:29 +0000
commit94b211977acebf6730a07275554430e640a5679c (patch)
treef85aa0c5c2936bf235469370555b5340e550ff80 /editcap.c
parent662ad82d605f1594c67a5d6c33b60730a8ce0062 (diff)
Add support for embedding WireGuard keys in a pcapng file
pcapng spec update is here: https://github.com/pcapng/pcapng/pull/62 Bug: 15571 Change-Id: I2f1921b1da70ac0bab8c38dd5138a9dfe7843fea Reviewed-on: https://code.wireshark.org/review/33300 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editcap.c b/editcap.c
index eb8c20bd9c..948bb4ac7d 100644
--- a/editcap.c
+++ b/editcap.c
@@ -180,7 +180,8 @@ static const struct {
const char *str;
guint32 id;
} secrets_types[] = {
- { "tls", SECRETS_TYPE_TLS },
+ { "tls", SECRETS_TYPE_TLS },
+ { "wg", SECRETS_TYPE_WIREGUARD },
};
static int find_dct2000_real_data(guint8 *buf);