diff options
author | 2002-02-23 22:16:13 +0000 | |
---|---|---|
committer | 2002-02-23 22:16:13 +0000 | |
commit | 9058c5533d78263ebd77244d53b62f8ba02dfb3f (patch) | |
tree | c71eb5be1b7c10f5702097a8a57dbc21861e5ea5 /sys/netinet/ip_ipsp.c | |
parent | more cleaning (diff) | |
download | wireguard-openbsd-9058c5533d78263ebd77244d53b62f8ba02dfb3f.tar.xz wireguard-openbsd-9058c5533d78263ebd77244d53b62f8ba02dfb3f.zip |
Print compression algorithm name too.
Diffstat (limited to 'sys/netinet/ip_ipsp.c')
-rw-r--r-- | sys/netinet/ip_ipsp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c index 212f73f65c7..5872f65c675 100644 --- a/sys/netinet/ip_ipsp.c +++ b/sys/netinet/ip_ipsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.c,v 1.144 2001/12/05 10:00:46 deraadt Exp $ */ +/* $OpenBSD: ip_ipsp.c,v 1.145 2002/02/23 22:16:13 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -930,6 +930,10 @@ ipsp_print_tdb(struct tdb *tdb, char *buffer) l += sprintf(buffer + l, "\t\tAuthentication = <%s>\n", tdb->tdb_authalgxform->name); + if (tdb->tdb_compalgxform) + l += sprintf(buffer + l, "\t\tCompression = <%s>\n", + tdb->tdb_compalgxform->name); + if (tdb->tdb_onext) l += sprintf(buffer + l, "\tNext SA: SPI = %08x, Destination = %s, Sproto = %u\n", |