From f3dbb8e68b2305145586c3246ef301ac323f31cd Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Mar 2017 22:53:01 +0300 Subject: [PATCH] port= arg --- iguana/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iguana/main.c b/iguana/main.c index b737885c5..8f778dd4c 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -2192,6 +2192,11 @@ void iguana_main(void *arg) myinfo->IAMNOTARY = 1; myinfo->DEXEXPLORER = 1; } + else if ( strncmp((char *)arg,"port=",5) == 0 ) + { + myinfo->rpcport = atoi(&((char *)arg)[5]); + printf("OVERRIDE IGUANA port <- %u\n",myinfo->rpcport); + } } #ifdef IGUANA_OSTESTS do_OStests = 1;