Update goodbyedpi.c
This commit is contained in:
parent
d1aecfb506
commit
8f9e677eba
|
|
@ -869,7 +869,7 @@ int main(int argc, char *argv[]) {
|
|||
char *autottl_copy = strdup(optarg);
|
||||
if (strchr(autottl_copy, '-')) {
|
||||
// token "-" found, start X-Y parser
|
||||
char *autottl_current = strtok_r(autottl_copy, "-", &saveptr);
|
||||
char *autottl_current = strtok(autottl_copy, "-");
|
||||
auto_ttl_1 = atoub(autottl_current, "Set Auto TTL parameter error!");
|
||||
autottl_current = strtok(NULL, "-");
|
||||
if (!autottl_current) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue