Linux PPP protocol development
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: linux-ppp@vger.kernel.org
Subject: Re: [PATCH ppp-2.4.4] Introduce L2TP support
Date: Mon, 26 May 2008 22:52:42 +0000	[thread overview]
Message-ID: <18491.16186.196355.439430@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <483ACA26.8080506@katalix.com>

James Chapman writes:

> These plugins are being actively used by users of OpenL2TP and other
> L2TP daemons. Please consider for inclusion in the next release of
> pppd.

Looks OK.  I want to do a new release of pppd fairly soon, so this is
timely.

> Index: ppp-2.4.4/pppd/plugins/pppol2tp/l2tp_event.h
> =================================> --- /dev/null
> +++ ppp-2.4.4/pppd/plugins/pppol2tp/l2tp_event.h
> @@ -0,0 +1,104 @@
> +/*****************************************************************************
> + * Copyright (C) 2008 Katalix Systems Ltd
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> + *
> + *****************************************************************************/

Could you add the explicit "you can redistribute it and/or modify it..."
permission statement here please?

> + * Unfortunately, pppd provides no easy way to tell that the new link
> + * successfully attaches to the bundle. We use its new_phase_hook to
> + * watch state changes. If the new interface reaches PHASE_NETWORK,
> + * then it is up. However, pppd sets variables that we need to test
> + * _after_ it reaches PHASE_NETWORK, so we use a timer to check the
> + * variables. This is messy. It would be much easier if pppd exported
> + * a hook for multilink interface up.

So, send me a patch to do that... :)

Paul.

  reply	other threads:[~2008-05-26 22:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-26 14:33 [PATCH ppp-2.4.4] Introduce L2TP support James Chapman
2008-05-26 22:52 ` Paul Mackerras [this message]
2008-05-27 10:59 ` [PATCH ppp-2.4.4] Introduce L2TP support (#2) James Chapman
2008-05-27 22:39 ` [PATCH ppp-2.4.4] Introduce L2TP support Jan Just Keijser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18491.16186.196355.439430@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox