Re: [Design] Re: start and stop failure with frees/wan 2.00

"D. Hugh Redelmeier" <[email protected]> Thu, 8 May 2003 22:15:59 -0400 (EDT)
Newsgroups gmane.network.freeswan.user,gmane.network.freeswan.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----


| From: Sam Sgro <[email protected]>

| On Thu, 8 May 2003, Glatzel Tino wrote:

| > ipsec_setup: awk: line 365: regular expression compile failed (missing
| > operand)

| > ipsec_setup: ^also(|flip)=

| 
| I think this has to do with the type of awk installed on Debian machines; 
| specifically, I think you're using "mawk", whereas that expression only 
| functions with "gawk". Do you see a difference if you install that package?
| 
| We should probably correct it in any case (unless mawk is at fault here 
| somehow).

My recollection is that mawk has other deficiencies that mean it
won't work for us.

To work around this particular problem, change
programs/_confread/_confread.in (source) or
/usr/local/lib/ipsec/_confread (installed).
The two occurrences of this regular expression can be changed.

$0 ~ /^also(|flip)=/ {
=>
$0 ~ /^(also|alsoflip)=/ {

and

        sub(/^also(|flip)=/, "")
=>
        sub(/^(also|flip)=/, "")

Hugh Redelmeier
[email protected]  voice: +1 416 482-8253

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBPrsPYsFAuQPManGZAQHvawQAju2CIP/4qf1Y2e0tbWwUmL494/K1js+v
iuOj8VW2oJekrlwSLUTUy2I2NMolKc+rUg4ZUD+vLX/EmTK0zXvumtt/MlGl1qVl
ezFmMiDt7/kvQmvtVfilQvxo6c2Gtf4Kj2PeJY2o7Qp/5Exl/LQKZUAfTwbjEG/3
GpPuK9oqXao=
=x6gl
-----END PGP SIGNATURE-----