diff options
Diffstat (limited to 'src/inetd-bi.c')
-rw-r--r-- | src/inetd-bi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inetd-bi.c b/src/inetd-bi.c index de9cfa0..d0d3ea4 100644 --- a/src/inetd-bi.c +++ b/src/inetd-bi.c @@ -15,6 +15,7 @@ along with GNU Pies. If not, see <http://www.gnu.org/licenses/>. */ #include "pies.h" +#include "prog.h" #include <netdb.h> #define INTBUFSIZE 8192 @@ -303,7 +304,7 @@ tcpmux_help (struct component *comp, void *data) { int *pfd = data; - if (!(comp->flags & CF_DISABLED) && ISCF_TCPMUX (comp->flags)) + if (ISCF_TCPMUX (comp->flags) && comp->prog && comp->prog->v.p.active) { fd_report (*pfd, comp->service); fd_report (*pfd, "\r\n"); |