diff options
author | Wayne Cuddy <wcuddy[at]useunix[dot]net> | 2020-02-15 08:25:54 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-15 08:26:05 +0700 |
commit | 38648b44fa79f207201fb27cde0bc953260c9bdd (patch) | |
tree | 1defd1c8b594b259a2ed7b35a1524796714ada1f /network/ucarp/getopt.patch | |
parent | 20d99306257efa07c918787ca7fcae1200efc610 (diff) |
network/ucarp: Fix command line processing.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ucarp/getopt.patch')
-rw-r--r-- | network/ucarp/getopt.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/network/ucarp/getopt.patch b/network/ucarp/getopt.patch new file mode 100644 index 0000000000000..c6221ac220960 --- /dev/null +++ b/network/ucarp/getopt.patch @@ -0,0 +1,12 @@ +diff -ru ucarp-1.5.2.orig/src/ucarp_p.h ucarp-1.5.2/src/ucarp_p.h +--- ucarp-1.5.2.orig/src/ucarp_p.h 2009-05-27 21:39:23.000000000 +0000 ++++ ucarp-1.5.2/src/ucarp_p.h 2020-02-09 17:57:05.816000000 +0000 +@@ -1,7 +1,7 @@ + #ifndef __CARP_P_H__ + #define __CARP_P_H__ 1 + +-static const char *GETOPT_OPTIONS = "i:s:v:p:Pa:hb:k:x:nu:d:r:zf:BoSM"; ++static const char *GETOPT_OPTIONS = "i:s:v:p:Pa:hb:k:x:nu:d:r:zf:Bo:SM"; + + static struct option long_options[] = { + { "interface", 1, NULL, 'i' }, |