Browse Source

Fix: setOption pass wrong argument in edge node

pull/169/head
horseluke 5 years ago
parent
commit
9e56c92af2
  1. 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…
Cancel
Save