Re: Layer-2 filtering in NPF

Greg Troxel <[email protected]> Sat, 05 Jul 2025 05:42:42 -0400
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
Emmanuel Nyarko <[email protected]> writes:

> i included a rule for colon [amended to hyphen in later message]
> separated Mac addresses in lex, so the parser is choosing that ahead
> of the port range and striking a syntax error.

I see.  My view is that MAC addreses are properly written with : only
and that there's no need to accomodate any other way people might want
to write them, especially if it causes lexer/parser confusion.