mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
Merge pull request #169 from HorseLuke/fix-edge-conf-read-201907
Fix: setOption pass wrong argument in edge node
This commit is contained in:
commit
be8c2ec9cd
2
edge.c
2
edge.c
|
@ -287,7 +287,7 @@ static int setOption(int optkey, char *optargument, n2n_priv_config_t *ec, n2n_e
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'i': /* supernode registration interval */
|
case 'i': /* supernode registration interval */
|
||||||
conf->register_interval = atoi(optarg);
|
conf->register_interval = atoi(optargument);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if defined(N2N_CAN_NAME_IFACE)
|
#if defined(N2N_CAN_NAME_IFACE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user