IPv6 readyNote: This archive passes through spamassassin. Every mail marked with the subject "*****SPAM*****" has exceed a certain threshold of spam-like behaviour.

[Users] Re: [Bugs] [PATCH] ipsec_life.c relative, ain't it?

From: Richard Guy Briggs (rgb_at_conscoop.ottawa.on.ca)
Date: Tue May 21 2002 - 23:22:34 CEST


On Wed, Apr 17, 2002 at 10:43:16AM -0400, Martin Gadbois wrote:

Sorry to take so long to reply...

(It doesn't appear that this message ever made it to
users_at_lists.freeswan.org.)

> /proc/net/ipsec_spi output is absolute in FreeS/WAN 1.96, even if it is
> documented as relative to start of SA.
> here's the patch, and correct me if I am wrong!

Yup, agreed. I've also fixed the case of kernel > 2.3.0.

> --
> ==============
> Martin Gadbois
> S/W Developper
> Colubris Networks Inc.
>
>

> --- freeswan-1.96-org/klips/net/ipsec/ipsec_life.c Tue Jan 29 12:17:55 2002
> +++ freeswan-1.96/klips/net/ipsec/ipsec_life.c Wed Apr 17 10:39:16 2002
> @@ -168,7 +168,7 @@
> len = snprintf(buffer, buflen,
> "%s(%lu,%lu,%lu)",
> lifename,
> - (unsigned long)lifetime->ipl_count,
> + (unsigned long)count,
> (unsigned long)lifetime->ipl_soft,
> (unsigned long)lifetime->ipl_hard);
> #endif

        slainte mhath, RGB

-- 
Richard Guy Briggs           --    ~\                 Auto-Free Ottawa! Canada
<www.TriColour.net>            --    \@       @           <www.flora.org/afo/>
No Internet Wiretapping!        --   _\\/\%___\\/\%        Vote! -- <Green.ca>
<www.FreeSWAN.org>_______GTVS6#790__(*)_______(*)(*)_______<www.Marillion.com>
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:20:05 CEST