<programlisting> tags are rendered as blocks, and are not normally

used inside of a <para>.  Previously, that was done here, which was
fine until I accidentally wrapped the paragraph which messes up the
formatting since <programlistings> are sensisitve to \n.  This change
separates out the <programlisting> from the <para>, as is done
elsewhere in the handbook.  Thanks to Tom Hukins for spotting my error
in accidentally wrapping the <programlisting>.
This commit is contained in:
Murray Stokely 2003-07-13 08:35:07 +00:00
parent eb1df03b4a
commit 3d6720c140
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=17533

View file

@ -5460,15 +5460,20 @@ driftfile /var/db/ntp.drift</programlisting>
machines can access your server.</para>
<para>If you want to deny all machines from accessing your NTP
server, add the line <programlisting>restrict default
ignore</programlisting> to
<filename>/etc/ntp.conf</filename>. If you only want to
server, add the following line to
<filename>/etc/ntp.conf</filename></para>
<programlisting>restrict default ignore</programlisting>
<para>If you only want to
allow machines within your own network to synchronize their
clocks with your server, but ensure they are not allowed to
configure the server or used as peers to synchronize
against, add <programlisting>restrict 192.168.1.0 mask
255.255.255.0 notrust nomodify notrap</programlisting>
instead, where <hostid role="ipaddr">192.168.1.0</hostid> is
against, add</para>
<programlisting>restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap</programlisting>
<para>instead, where <hostid role="ipaddr">192.168.1.0</hostid> is
an IP address on your network and <hostid
role="netmask">255.255.255.0</hostid> is your network's
netmask.</para>