Make example match one-interface sample zone names

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5940 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
paulgear 2007-04-16 00:19:02 +00:00
parent bf1cf0c90c
commit aa36c47640
5 changed files with 8 additions and 8 deletions

View File

@ -10,7 +10,7 @@
# #
# Example usage on a single-interface firewall which is a print # Example usage on a single-interface firewall which is a print
# client: # client:
# IPPserver/ACCEPT $FW lan # IPPserver/ACCEPT $FW net
# #
# Example for a two-interface firewall which acts as a print # Example for a two-interface firewall which acts as a print
# server for loc: # server for loc:

2
contrib/shoregen/install_shoregen Normal file → Executable file
View File

@ -26,7 +26,7 @@
VERBOSE=0 VERBOSE=0
RESTART=0 RESTART=0
CHECK=1 CHECK=1
TIME=1 TIME=0
usage() usage()
{ {

2
contrib/shoregen/shoregen Normal file → Executable file
View File

@ -257,7 +257,7 @@ unless (-r "zones") {
for (stripfile "zones") { for (stripfile "zones") {
chomp; chomp;
my ($zone, $details) = split /\s+/, $_, 2; my ($zone, $details) = split /[\s:]+/, $_, 2;
push @globalzones, $zone; push @globalzones, $zone;
$globalzones{ $zone } = $details; $globalzones{ $zone } = $details;
} }

View File

@ -316,7 +316,7 @@ loc eth2 -</programlisting>
<term><emphasis role="bold">detectnets</emphasis></term> <term><emphasis role="bold">detectnets</emphasis></term>
<listitem> <listitem>
<para>Automatically taylors the zone named in the ZONE column <para>Automatically tailors the zone named in the ZONE column
to include only those hosts routed through the to include only those hosts routed through the
interface.</para> interface.</para>

View File

@ -4651,7 +4651,7 @@ loc Local Extended local zone
<li>A "detectnets" interface option has been added for <li>A "detectnets" interface option has been added for
entries in /etc/shorewall/interfaces. This option entries in /etc/shorewall/interfaces. This option
automatically taylors the definition of the zone named in the automatically tailors the definition of the zone named in the
ZONE column to include just&nbsp; those hosts that have ZONE column to include just&nbsp; those hosts that have
routes through the interface named in the INTERFACE column. routes through the interface named in the INTERFACE column.
The named interface must be UP when Shorewall is The named interface must be UP when Shorewall is
@ -4736,7 +4736,7 @@ loc Local Extended local zone
<li>A "detectnets" interface option has been added for <li>A "detectnets" interface option has been added for
entries in /etc/shorewall/interfaces. This option entries in /etc/shorewall/interfaces. This option
automatically taylors the definition of the zone named in the automatically tailors the definition of the zone named in the
ZONE column to include just&nbsp; those hosts that have ZONE column to include just&nbsp; those hosts that have
routes through the interface named in the INTERFACE column. routes through the interface named in the INTERFACE column.
The named interface must be UP when Shorewall is The named interface must be UP when Shorewall is
@ -4812,7 +4812,7 @@ loc Local Extended local zone
<li>A "detectnets" interface option has been added for <li>A "detectnets" interface option has been added for
entries in /etc/shorewall/interfaces. This option entries in /etc/shorewall/interfaces. This option
automatically taylors the definition of the zone named in the automatically tailors the definition of the zone named in the
ZONE column to include just&nbsp; those hosts that have ZONE column to include just&nbsp; those hosts that have
routes through the interface named in the INTERFACE column. routes through the interface named in the INTERFACE column.
The named interface must be UP when Shorewall is The named interface must be UP when Shorewall is