[Openswan Users] L2TP problem with OpenSWAN 2.6.x after changing default route
Nels Lindquist
nlindq at maei.ca
Fri Jul 15 15:53:53 EDT 2011
On 2011/07/13 5:46 PM, Paul Wouters wrote:
> On Wed, 13 Jul 2011, Nels Lindquist wrote:
>
>>> I dont understand who 2.4 and 2.6 with netkey are different ?
>>
>> With 2.4, I can successfully initiate new L2TP connections to the
>> gateway regardless of how the default route is set. With 2.6, new L2TP
>> connections are only successful if the default route on the gateway is
>> the same as the interface used for IPSEC.
>
> I mean I don't understand what would cause that.
Sorry, with the "who" I wasn't sure whether you meant "how" or "why". :-)
>> It appears my ultimate xl2tpd build issue is the libpcap requirement,
>> however. Despite having libpcap installed (and there's no separate
>> devel package--headers, etc. are included) I receive the following error
>> during compilation:
>>
>> ---
>> contrib/pfc.c: In function `main':
>> contrib/pfc.c:45: error: `DLT_PPP_PPPD' undeclared (first use in this
>> function)
>> contrib/pfc.c:45: error: (Each undeclared identifier is reported only
>> once
>> contrib/pfc.c:45: error: for each function it appears in.)
>> make: *** [pfc] Error 1
>
> you don't need pfc, so put this in your spec file's build section before
> calling make:
>
> touch contrib/pfc
I added that to my %build section, but it's still trying to compile
pfc.c, despite the presence of contrib/pfc.
Nels Lindquist
More information about the Users
mailing list