diff options
author | 2018-04-26 13:11:09 +0000 | |
---|---|---|
committer | 2018-04-26 13:11:09 +0000 | |
commit | 3d7edd5d97c20d9f651ef38cff81af54f29245a4 (patch) | |
tree | 848968dce19171e914dd2572fff3521385c1c970 | |
parent | Fix previous. Adding "offset" to "maxval" was required. (diff) | |
download | wireguard-openbsd-3d7edd5d97c20d9f651ef38cff81af54f29245a4.tar.xz wireguard-openbsd-3d7edd5d97c20d9f651ef38cff81af54f29245a4.zip |
adjust to removed support for /etc/networks
-rw-r--r-- | usr.sbin/ypserv/ypserv/ypserv.acl.5 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/ypserv/ypserv/ypserv.acl.5 b/usr.sbin/ypserv/ypserv/ypserv.acl.5 index e3e61a31a4d..7a5321d0dba 100644 --- a/usr.sbin/ypserv/ypserv/ypserv.acl.5 +++ b/usr.sbin/ypserv/ypserv/ypserv.acl.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ypserv.acl.5,v 1.23 2015/09/10 15:16:44 schwarze Exp $ +.\" $OpenBSD: ypserv.acl.5,v 1.24 2018/04/26 13:11:09 schwarze Exp $ .\" .\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> .\" All rights reserved. @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 10 2015 $ +.Dd $Mdocdate: April 26 2018 $ .Dt YPSERV.ACL 5 .Os .Sh NAME @@ -100,9 +100,9 @@ has more than one IP address, they will all be added to the list. > .Ic net < -.Ic netname|netnumber +.Ic netnumber > -.Op Ic netmask <netname|netnumber> +.Op Ic netmask <netnumber> .Pp If the .Ic netmask @@ -147,11 +147,11 @@ deny host jodie ########################################################################### # This is the commands that will match a network # -# allow net <netname|netnumber> [netmask <netname|netnumber>] -# deny net <netname|netnumber> [netmask <netname|netnumber>] +# allow net <netnumber> [netmask <netnumber>] +# deny net <netnumber> [netmask <netnumber>] # -# To process netname getnetbyname is called, and inet_aton is used for -# netnumber. inet_aton both access numbers as 255.255.255.0 and 0xffffff00. +# inet_aton is used for netnumber. +# inet_aton both access numbers as 255.255.255.0 and 0xffffff00. # # If netmask isn't given the parser will assume netmask from the first bits # of the network number. So if the network is subneted the you have to add @@ -159,7 +159,7 @@ deny host jodie # allow any of my computers to talk with the server I need the following # line # -allow net mojathome netmask 255.255.255.0 +allow net 139.58.253.0 netmask 255.255.255.0 ########################################################################### # At last we have a command that will match any caller: |