On Dec 23, 2007 1:03 AM, Richard Chapman <[EMAIL PROTECTED]> wrote:
>
> Hi all
>
> Is the syntax:
>
> ACL lan 10.0.0.0/255.0.0.0
>
> allowed and correct? Shouldn't it be:
>
> ACL lan 10.0.0.0/8
>
> If both notations are allowed in the same syntax - it is news to me - but 
> then many things are news to me...:-)

Both are allowed. Check acl_add() in server/access.c -- there is a
comment showing what works and what doesn't. Basically, it checks to
see if there is a dot in the part to the right of the slash, and if
so, the part to the right of the slash is used directly as the mask.

-- 
- Charles Lepple

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to