From 744ae662073bd249fdd0def00c29756e9ca0df17 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?= Date: Fri, 12 Aug 2022 12:49:49 +0300 Subject: [PATCH] xl2pd: fixed segmentation fault at start MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: НЕВСКИЙ БЛЯДИНА --- xl2tpd-control.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xl2tpd-control.c b/xl2tpd-control.c index a2dcfc31..0863404f 100644 --- a/xl2tpd-control.c +++ b/xl2tpd-control.c @@ -83,7 +83,9 @@ struct command_t commands[] = { {"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()