From 7fcbcd35b9d735e4967cb4f832184cc003ebd0ed Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 18 Jun 2021 00:31:27 +0200 Subject: [PATCH] fix commit 5567e7c7e05f2cda8e2f82d97b4054c5729fb933 --- miniupnpd/Makefile.bsd | 3 ++- miniupnpd/options.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/miniupnpd/Makefile.bsd b/miniupnpd/Makefile.bsd index fc879d2..fd31fc7 100644 --- a/miniupnpd/Makefile.bsd +++ b/miniupnpd/Makefile.bsd @@ -61,6 +61,7 @@ CPPFLAGS += -DMINIUPNPD_GIT_REF=\"$(GITREF)\" STDOBJS = miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o \ upnpredirect.o getifaddr.o daemonize.o upnpglobalvars.o \ options.o upnppermissions.o minissdp.o natpmp.o pcpserver.o \ + pcplearndscp.o \ upnpevents.o upnputils.o getconnstatus.o \ upnpstun.o \ upnppinhole.o asyncsendto.o portinuse.o @@ -229,7 +230,7 @@ testssdppktgen: testssdppktgen.o # BSDmake : # $(CC) $(CFLAGS) -o $@ $> -config.h: $(SRCDIR)/configure $(SRCDIR)/VERSION +config.h: $(SRCDIR)/configure $(SRCDIR)/VERSION $(SRCDIR)/Makefile.bsd $(SRCDIR)/configure $(CONFIG_OPTIONS) $(STDOBJS) $(MISCOBJS): $(SRCDIR)/$(@:.o=.c) diff --git a/miniupnpd/options.c b/miniupnpd/options.c index 026a1fe..9c61d05 100644 --- a/miniupnpd/options.c +++ b/miniupnpd/options.c @@ -201,7 +201,7 @@ readoptionsfile(const char * fname, int debug_flag) { dscp_values_list = tmp; /* parse the rule */ - if(read_learn_dscp_line(dscp_values_list + num_dscp_values, name) >= 0) + if(read_learn_dscp_line(dscp_values_list + num_dscp_values, name, debug_flag) >= 0) { num_dscp_values++; }