All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Nault <g.nault@alphalink.fr>
To: netdev@vger.kernel.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH iproute2 3/3] l2tp: drop lns_mode
Date: Fri, 27 Jul 2018 12:26:32 +0200	[thread overview]
Message-ID: <1c4b94177c31480f66bd90d270a1192d03a080a5.1532685939.git.g.nault@alphalink.fr> (raw)
In-Reply-To: <cover.1532685939.git.g.nault@alphalink.fr>

This option is never set.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
---
 ip/ipl2tp.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ip/ipl2tp.c b/ip/ipl2tp.c
index 41fefb85..5e7f0390 100644
--- a/ip/ipl2tp.c
+++ b/ip/ipl2tp.c
@@ -58,7 +58,6 @@ struct l2tp_parm {
 	unsigned int udp_csum:1;
 	unsigned int recv_seq:1;
 	unsigned int send_seq:1;
-	unsigned int lns_mode:1;
 	unsigned int tunnel:1;
 	unsigned int session:1;
 	int reorder_timeout;
@@ -161,8 +160,6 @@ static int create_session(struct l2tp_parm *p)
 		addattr8(&req.n, 1024, L2TP_ATTR_RECV_SEQ, 1);
 	if (p->send_seq)
 		addattr8(&req.n, 1024, L2TP_ATTR_SEND_SEQ, 1);
-	if (p->lns_mode)
-		addattr(&req.n, 1024, L2TP_ATTR_LNS_MODE);
 	if (p->reorder_timeout)
 		addattr64(&req.n, 1024, L2TP_ATTR_RECV_TIMEOUT,
 					  p->reorder_timeout);
-- 
2.18.0

  parent reply	other threads:[~2018-07-27 11:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-27 10:26 [PATCH iproute2 0/3] l2tp: remove unused fields in struct l2tp_parm Guillaume Nault
2018-07-27 10:26 ` [PATCH iproute2 1/3] l2tp: drop data_seq Guillaume Nault
2018-07-27 10:26 ` [PATCH iproute2 2/3] l2tp: drop mtu Guillaume Nault
2018-07-27 10:26 ` Guillaume Nault [this message]
2018-07-27 14:57 ` [PATCH iproute2 0/3] l2tp: remove unused fields in struct l2tp_parm Stephen Hemminger
2018-07-27 15:15   ` Guillaume Nault

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=1c4b94177c31480f66bd90d270a1192d03a080a5.1532685939.git.g.nault@alphalink.fr \
    --to=g.nault@alphalink.fr \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    --subject='Re: [PATCH iproute2 3/3] l2tp: drop lns_mode' \
    /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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.