From 6f8951d40dffaf1a50c5921ecc9c5998bbef116c Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 19 Jan 2016 10:52:36 +0100 Subject: [PATCH] find_pinhole() return -2 if not found --- miniupnpd/netfilter/iptpinhole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpd/netfilter/iptpinhole.c b/miniupnpd/netfilter/iptpinhole.c index a277b38..e3e6257 100644 --- a/miniupnpd/netfilter/iptpinhole.c +++ b/miniupnpd/netfilter/iptpinhole.c @@ -291,7 +291,7 @@ find_pinhole(const char * ifname, return (int)p->uid; } } - return -1; /* not found */ + return -2; /* not found */ } int