[pfSense] Hyphens in aliases

Jim Pingle lists at pingle.org
Wed May 9 10:51:56 EDT 2012

On 5/9/2012 10:42 AM, Ugo Bellavance wrote:
> Is there a reason why hyphens are not allowed in aliases names?

Aliases have to be valid pf macro/table keywords, iirc hypens are not
allowed there.

>From pf.conf(5)
  Macros can be defined that will later be expanded in context.  Macro
  names must start with a letter, and may contain letters, digits and
  underscores.  Macro names may not be reserved words (for example pass,
  in, out).  Macros are not expanded inside quotes.


More information about the List mailing list