Fix: function setOption pass wrong argument to load_allowed_sn_community

See issue #135
This commit is contained in:
horseluke 2019-06-13 16:22:21 +08:00
parent 1c67672746
commit 6647194537

2
sn.c
View File

@ -777,7 +777,7 @@ static int setOption(int optkey, char *_optarg, n2n_sn_t *sss) {
break;
case 'c': /* community file */
load_allowed_sn_community(sss, optarg);
load_allowed_sn_community(sss, _optarg);
break;
case 'f': /* foreground */