[Apparmor-dev] apparmor.vim
John Johansen
jjohansen at suse.de
Tue Sep 4 11:24:27 MDT 2007
On Tue, Sep 04, 2007 at 11:34:59AM +0300, Markku Savela wrote:
>
> > From: John Johansen <jjohansen at suse.de>
> > ipv6_expr =3D "[" <ipv6_addr> "]" [ ":" <port_expr> ]
>
> ..just minor question here... won't the '":" <port_expr>' part be
> eaten by "hungry" <hexseq>?
>
hehe, why yes it does
> A solution is to use some other delimiter for the port number instead
> of ":". I believe, that at least in some places, the proposal was to
> use "#"-mark for the port number. Of course, the other option is to go
> with the URL solution and require IPv6 addresses to be enclosed in
> brackets ("[" <ipv6_part> "]").
>
hmm, yes either of those will work,
does anyone have a preference?
> > ipv6_addr =3D <ipv6_part> [ "/" 1*2DIGIT ]
> > ipv6_part =3D <hexseq> / <hexseq> "::" [ <hexseq> ] | "::" [ <hexseq> ]
> > hexseq =3D hex4 ( ":" hex4)*
> > hex4 =3D HEXDIG{1,4}
> > port_expr =3D DIGIT{1,5} [ "-" DIGIT{1,5} ]
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070904/ac0b8c0e/attachment.pgp
More information about the Apparmor-dev
mailing list