From 632a113f5fc26ad88799739509d8c25081dd4a16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=9D=D0=95=D0=92=D0=A1=D0=9A=D0=98=D0=99=20=D0=91=D0=9B?=
 =?UTF-8?q?=D0=AF=D0=94=D0=98=D0=9D=D0=90?= <neva_blyad@lovecry.pt>
Date: Fri, 12 Aug 2022 14:13:23 +0300
Subject: [PATCH] Fixed bug: https://github.com/xelerance/xl2tpd/issues/243

---
 net/xl2tpd/patches/0002-fix-argument-parsing.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 net/xl2tpd/patches/0002-fix-argument-parsing.patch

diff --git a/net/xl2tpd/patches/0002-fix-argument-parsing.patch b/net/xl2tpd/patches/0002-fix-argument-parsing.patch
new file mode 100644
index 00000000000000..ce2b3bba46cc2b
--- /dev/null
+++ b/net/xl2tpd/patches/0002-fix-argument-parsing.patch
@@ -0,0 +1,13 @@
+--- a/xl2tpd-control.c	2022-08-11 21:39:47.754446499 +0300
++++ b/xl2tpd-control.c	2022-08-11 21:40:16.849022167 +0300
+@@ -83,7 +83,9 @@
+     {"available",     &command_available,     TUNNEL_NOT_REQUIRED},
+     {"add-lns",       &command_add_lns,       TUNNEL_REQUIRED},
+     {"status-lns",    &command_status_lns,    TUNNEL_REQUIRED},
+-    {"remove-lns",    &command_remove_lns,    TUNNEL_REQUIRED}
++    {"remove-lns",    &command_remove_lns,    TUNNEL_REQUIRED},
++
++    {NULL, NULL, TUNNEL_REQUIRED}
+ };
+ 
+ void usage()