Skip to contentSkip to conversation

ipl2tp: allow setting session interface name

PATCH Stephen Hemminger 1 participant 1 message Apr 3, 2012 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 14 lines · On Mon, 26 Mar 2012 21:00:08 +0100 "João Valverde" <[email protected]> wrote:

Hi,

I've attached a trivial patch for iproute2 to allow naming interfaces created with "ip l2tp add session".

I believe patches should go through the netdev mailing list but this patch is so small I figured that would just add noise. Hope that's OK.

Originally I thought I would need a bigger patch and was going to take a stab at implementing something like

ip l2tp add tunnel L2TP_TUNNEL_ARGS
ip link add name NAME [ LINK_OPTS ] type l2tp L2TP_SESSION_ARGS

Quoted 8 lines

(a better interface IMHO) but all the code was there already, all that I needed to add was option parsing.

Thanks,

João Valverde

Applied thanks.