Skip to content

Commit

Permalink
xl2tpd: fixed bug (Segmentation Fault at start on some systems).
Browse files Browse the repository at this point in the history
  • Loading branch information
nevapadonak committed Aug 12, 2022
1 parent d3eca9a commit 8732510
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions net/xl2tpd/patches/0002-fix-argument-parsing.patch
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit 8732510

Please sign in to comment.