Document use of find_first_interface_address_if_any()

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8875 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-11-16 15:09:23 +00:00
parent da103abe81
commit 6b16d3f386

View File

@ -719,6 +719,10 @@ eth1 206.124.146.176 130.252.99.27</programlisting>
<programlisting>ETH0_IP=$(find_first_interface_address eth0)</programlisting>
<para>For optional interfaces, use
<emphasis>find_first_interface_address_if_any</emphasis> in place of
<emphasis>find_first_interface_address</emphasis>.</para>
<para>/etc/shorewall/masq:</para>
<programlisting>#INTERFACE SUBNET ADDRESS