Skip to contentSkip to conversation

make print-extensions doesn't show libxt_* extensions

PATCH Applied Sebastian Classen 2 participants 2 messages Oct 5, 2007 – Oct 8, 2007 netfilter

lore
Share & tools
lore
#0 lore raw

In extensions/Makefile the variable PFX_EXT_SLIB_OPTS is not appended to OPTIONALS, therefor 'make print-extensions' doesn't show any optional libxt_* extension.

Patch against last iptables snapshot attached.

Greets
Sebastian.

Signature · 18 lines
Mit freundlichen Grüßen / Yours sincerely

Sebastian Claßen
Postmaster
----------------------------------------------------------------------
Telefon: + 49 (0) 211 53087 522
Telefax: + 49 (0) 211 5381573
E-Mail:  [email protected]
Website: www.freenet.de; www.mobilcom.de
----------------------------------------------------------------------
freenet AG
Willstätterstr. 13
40549 Düsseldorf
----------------------------------------------------------------------
Vorsitzender des Aufsichtsrates: Prof. Dr. Helmut Thoma
Vorstand: Eckhard Spoerr (Vors.), Axel Krieger, Stephan Esch, Eric Berger
Sitz: Büdelsdorf
Amtsgericht Kiel HRB 7306 KI
extensions/Makefile renamed from extensions/Makefile.orig +1 -0
@@ -85,6 +85,7 @@ PF_EXT_SLIB+=$(PF_EXT_SLIB_OPTS)
 PF6_EXT_SLIB+=$(PF6_EXT_SLIB_OPTS)
 PFX_EXT_SLIB+=$(PFX_EXT_SLIB_OPTS)
 
+OPTIONALS+=$(patsubst %,XT:%,$(PFX_EXT_SLIB_OPTS))
 OPTIONALS+=$(patsubst %,IPv4:%,$(PF_EXT_SLIB_OPTS))
 OPTIONALS+=$(patsubst %,IPv6:%,$(PF6_EXT_SLIB_OPTS))
 
#1 lore raw
Quoted 3 lines · Sebastian Classen

In extensions/Makefile the variable PFX_EXT_SLIB_OPTS is not appended to OPTIONALS, therefor 'make print-extensions' doesn't show any optional libxt_* extension.

Applied, thanks Sebastian.