From 87776e8345fceabcbbdca91b82625df731841ba1 Mon Sep 17 00:00:00 2001 From: Brian John Date: Sat, 1 Jan 2022 16:58:55 -0600 Subject: [PATCH] Split "NAT" and "TABLE" for consistency --- miniupnpd/miniupnpd.conf | 2 +- miniupnpd/netfilter_nft/README.md | 2 +- miniupnpd/options.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/miniupnpd/miniupnpd.conf b/miniupnpd/miniupnpd.conf index af3b240..9edddf7 100644 --- a/miniupnpd/miniupnpd.conf +++ b/miniupnpd/miniupnpd.conf @@ -75,7 +75,7 @@ # table names for netfilter nft. Default is "filter" for both #upnp_table_name= -#upnp_nattable_name= +#upnp_nat_table_name= # chain names for netfilter and netfilter nft # netfilter : default are MINIUPNPD, MINIUPNPD, MINIUPNPD-POSTROUTING # netfilter nft : default are miniupnpd, prerouting_miniupnpd, postrouting_miniupnpd diff --git a/miniupnpd/netfilter_nft/README.md b/miniupnpd/netfilter_nft/README.md index 838af98..20f8b47 100644 --- a/miniupnpd/netfilter_nft/README.md +++ b/miniupnpd/netfilter_nft/README.md @@ -68,7 +68,7 @@ The following is used in miniupnpd for a table setup but it can be customized: and the following config settings can be used to change the tables and chains : upnp_table_name=filter - upnp_nattable_name=filter + upnp_nat_table_name=filter upnp_forward_chain=miniupnpd upnp_nat_chain=prerouting_miniupnpd upnp_nat_postrouting_chain=postrouting_miniupnpd diff --git a/miniupnpd/options.c b/miniupnpd/options.c index dd7293a..f0117ec 100644 --- a/miniupnpd/options.c +++ b/miniupnpd/options.c @@ -69,7 +69,7 @@ static const struct { { UPNPCLEANINTERVAL, "clean_ruleset_interval"}, #ifdef USE_NETFILTER { UPNPTABLENAME, "upnp_table_name"}, - { UPNPNATTABLENAME, "upnp_nattable_name"}, + { UPNPNATTABLENAME, "upnp_nat_table_name"}, { UPNPFORWARDCHAIN, "upnp_forward_chain"}, { UPNPNATCHAIN, "upnp_nat_chain"}, { UPNPNATPOSTCHAIN, "upnp_nat_postrouting_chain"},