From: Alejandro Enrique Date: Wed, 11 Feb 2015 10:02:46 +0000 (+0100) Subject: fix missing -p command line argument X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d49528ef9ccc74a90b0828fcd94408374a8af4b1;p=oweals%2Frelayd.git fix missing -p command line argument Option -p was not being accepted as it was missing in getopt parameter list Signed-off-by: Alejandro Enrique --- diff --git a/main.c b/main.c index 2e34954..a78076c 100644 --- 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;