Fix: setOption pass wrong argument in edge node

This commit is contained in:
horseluke 2019-07-28 01:59:51 +08:00
parent 2f671cf6d9
commit 9e56c92af2

2
edge.c
View File

@ -287,7 +287,7 @@ static int setOption(int optkey, char *optargument, n2n_priv_config_t *ec, n2n_e
}
case 'i': /* supernode registration interval */
conf->register_interval = atoi(optarg);
conf->register_interval = atoi(optargument);
break;
#if defined(N2N_CAN_NAME_IFACE)