Minor Issue with Gateway name, not severe

Started by antcilli, January 30, 2018, 09:08:51 PM

Previous topic - Next topic
Nothing major. Just went to add a new gateway to the configuration for some testing, and I put the name in as "2911" - quotation marks not included, to be clear.
The interface spits back this error: The name must be less than 32 characters long and may only consist of the following characters: a-z, A-Z, 0-9, _
If I update it to "2911_router", it goes through successfully. Not a huge deal, but it does appear there's an extra requirement for the name that isn't included. Not sure if it's a minimum length, or all numbers issue, but figured I'd point it out.  ;D

Currently running: OPNsense 17.7.9_9-amd64

Hi,

This is a pf(4) filter issue. "2911" is a number and pf.conf(5) will not like it. The validation message is not entirely correct, but the constraints seem to complex to explain in a simple message.


Cheers,
Franco