forked from extern/shorewall_code
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:
parent
da103abe81
commit
6b16d3f386
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user