Commit 3d2b4f00 authored by Matthieu Boutier's avatar Matthieu Boutier Committed by Juliusz Chroboczek

Don't abort() when no local interface but configuring a local-port.

parent 3de20d5b
...@@ -576,7 +576,9 @@ parse_option(int c, gnc_t gnc, void *closure, char *token) ...@@ -576,7 +576,9 @@ parse_option(int c, gnc_t gnc, void *closure, char *token)
if(strcmp(token, "protocol-port") == 0 || if(strcmp(token, "protocol-port") == 0 ||
strcmp(token, "kernel-priority") == 0 || strcmp(token, "kernel-priority") == 0 ||
strcmp(token, "allow-duplicates") == 0 || strcmp(token, "allow-duplicates") == 0 ||
#ifndef NO_LOCAL_INTERFACE
strcmp(token, "local-port") == 0 || strcmp(token, "local-port") == 0 ||
#endif
strcmp(token, "export-table") == 0 || strcmp(token, "export-table") == 0 ||
strcmp(token, "import-table") == 0) { strcmp(token, "import-table") == 0) {
int v; int v;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment