From 42be93aca70a946c59fb7821aa8bbdbca79fe1f5 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Tue, 18 Feb 2003 18:47:41 +0000 Subject: missed in lzs addition: allow LZS as an comp type --- sys/netinet/ip_ipcomp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys') 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", -- cgit v1.2.3