[OpenWrt-Devel] relayd: fix missing -p command line argument
diff mbox

Message ID 1423575784-23320-2-git-send-email-alejandro.enrique@fon.com
State Rejected
Headers show

Commit Message

Alejandro Enrique Feb. 10, 2015, 1:43 p.m. UTC
Option -p was not being accepted as it was missing in getopt parameter
list

Signed-off-by: Alejandro Enrique <alejandro.enrique@fon.com>
---
 .../services/relayd/patches/002-fix_expiry_retries.patch    |   11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 package/network/services/relayd/patches/002-fix_expiry_retries.patch

Patch
diff mbox

diff --git a/package/network/services/relayd/patches/002-fix_expiry_retries.patch b/package/network/services/relayd/patches/002-fix_expiry_retries.patch
new file mode 100644
index 0000000..1f2a0ad
--- /dev/null
+++ b/package/network/services/relayd/patches/002-fix_expiry_retries.patch
@@ -0,0 +1,11 @@ 
+--- a/main.c
++++ b/main.c
+@@ -719,7 +719,7 @@ int main(int argc, char **argv)
+ 	local_route_table = 0;
+ 	uloop_init();
+ 
+-	while ((ch = getopt(argc, argv, "I:i:t:BDdT:G:R:L:")) != -1) {
++	while ((ch = getopt(argc, argv, "I:i:t:p:BDdT:G:R:L:")) != -1) {
+ 		switch(ch) {
+ 		case 'I':
+ 			managed = true;