interfaces: fix message, reserve last char for \0

This commit is contained in:
Franco Fichtner 2022-10-04 09:59:49 +02:00
parent df6f7484a7
commit f65d40f4bc

View File

@ -60,7 +60,7 @@ class Vlan extends BaseModel
$messages->appendMessage(new Message(
sprintf(
gettext(
"A maximum of 16 characters is allowed starting with %s0 combined with " .
"A maximum of 15 characters is allowed starting with %s0 combined with " .
"numeric characters and dots[.], e.g. (%s.1.104)"
),
$prefix,