miniupnpd.c: fix 1aa46b5a2c

This commit is contained in:
Thomas Bernard 2021-08-11 12:19:30 +02:00
parent 1dae9bfca5
commit f1388717af
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF
1 changed files with 2 additions and 2 deletions

View File

@ -1818,9 +1818,9 @@ init(int argc, char * * argv, struct runtime_vars * v)
if(!ext_if_name || !lan_addrs.lh_first) { if(!ext_if_name || !lan_addrs.lh_first) {
/* bad configuration */ /* bad configuration */
if(!ext_if_name) if(!ext_if_name)
INIT_PRINT_ERR(stderr, "Error: Option -i missing and ext_ifname is not set in config file\n"); INIT_PRINT_ERR("Error: Option -i missing and ext_ifname is not set in config file\n");
if (!lan_addrs.lh_first) if (!lan_addrs.lh_first)
INIT_PRINT_ERR(stderr, "Error: Option -a missing and listening_ip is not set in config file\n"); INIT_PRINT_ERR("Error: Option -a missing and listening_ip is not set in config file\n");
goto print_usage; goto print_usage;
} }