From 65452961b8eb7f9a96fa881b7500ff081aaf868d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9A=D0=BE=D1=80=D0=BE?= =?UTF-8?q?=D1=82=D1=87=D0=B5=D0=BD=D0=BA=D0=BE?= 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()