summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-18 18:47:41 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-18 18:47:41 +0000
commit42be93aca70a946c59fb7821aa8bbdbca79fe1f5 (patch)
tree0590f84548620ab79cb13cec43bc5f54c2d46e0c /sys
parent818407f46b15758aacf90ffe90e04292f834e3cf (diff)
missed in lzs addition: allow LZS as an comp type
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_ipcomp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipcomp.c b/sys/netinet/ip_ipcomp.c
index a7afa74975f..ddb7a5dc3ce 100644
--- a/sys/netinet/ip_ipcomp.c
+++ b/sys/netinet/ip_ipcomp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipcomp.c,v 1.10 2003/02/12 14:41:07 jason Exp $ */
+/* $OpenBSD: ip_ipcomp.c,v 1.11 2003/02/18 18:47:40 jason Exp $ */
/*
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
@@ -96,8 +96,9 @@ ipcomp_init(tdbp, xsp, ii)
case SADB_X_CALG_DEFLATE:
tcomp = &comp_algo_deflate;
break;
-
- /* Only deflate is implemented */
+ case SADB_X_CALG_LZS:
+ tcomp = &comp_algo_lzs;
+ break;
default:
DPRINTF(("ipcomp_init(): unsupported compression algorithm %d specified\n",