projects
/
project
/
relayd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b00da24
)
fix missing -p command line argument
author
Alejandro Enrique
<alejandro.enrique@fon.com>
Wed, 11 Feb 2015 10:02:46 +0000
(11:02 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 11 Feb 2015 10:08:28 +0000
(21:08 +1100)
Option -p was not being accepted as it was missing in getopt parameter
list
Signed-off-by: Alejandro Enrique <alejandro.enrique@fon.com>
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 2e349541ba2539664d92a5e66b4edf64543a57ca..a78076c7f1b37e972ac83f0ce10197de44d99ad3 100644
(file)
--- 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;