diff options
Diffstat (limited to 'community/miniupnpd/improve-error-message.patch')
-rw-r--r-- | community/miniupnpd/improve-error-message.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/community/miniupnpd/improve-error-message.patch b/community/miniupnpd/improve-error-message.patch deleted file mode 100644 index d1e04ebf282..00000000000 --- a/community/miniupnpd/improve-error-message.patch +++ /dev/null @@ -1,17 +0,0 @@ -Upstream: https://github.com/miniupnp/miniupnp/pull/554 - -diff --git a/miniupnpd.c b/miniupnpd.c -index c24ee3b..529da66 100644 ---- a/miniupnpd.c -+++ b/miniupnpd.c -@@ -1760,6 +1760,10 @@ init(int argc, char * * argv, struct runtime_vars * v) - } - if(!ext_if_name || !lan_addrs.lh_first) { - /* bad configuration */ -+ if(!ext_if_name) -+ fprintf(stderr, "Error: Option -i missing and ext_ifname is not set in config file\n"); -+ if (!lan_addrs.lh_first) -+ fprintf(stderr, "Error: Option -a missing and listening_ip is not set in config file\n"); - goto print_usage; - } - |