Actions
Bug #10835
closedVerification on the interface group name length is not correct
Start date:
08/14/2020
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
All
Description
ifconfig take group name with less than 15 characters, but in the file interfaces_groups_edit.php, we can find the following line:
if (strlen($_POST['ifname']) > 16) {
which is incorrect, so if, in the interface, we put a name with 16 characters, pfsense would be OK, while ifconfig is call with a wrong name length and it will not take effect.
Updated by Théo Sarrazin over 4 years ago
Change maxlenght of interface group name:
https://github.com/pfsense/pfsense/pull/4423
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho over 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee changed from Théo Sarrazin to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Danilo Zrenjanin over 4 years ago
- Status changed from Feedback to Resolved
Tested on :
2.5.0-DEVELOPMENT (amd64) built on Wed Sep 09 19:46:45 EDT 2020 FreeBSD 12.2-PRERELEASE
It allows only 15 characters now.
Ticket resloved.
Actions