Bug #2010
closedVLAN parent interface / altq interface wrong assumptions about int_family name format
100%
Description
Hi
I ran into an issue with vmxnet3 NICs on current pfsene-2.1 developement release.
VMware stupidly choose vmx3f as interface family name which causes pfsense to not show the interfaces of that type int the selection for parent interfaces for vlan and altq.
The problem is that pfsense uses a suboptimal regex that splits the interface index and the interface family in is_jumbo_capable and is_altq_capable. The ifindex is matched anywhere in the ifname instead of just at the end of it.
The attached patch fixes the issue. Maybe switching to preg_match as done in checking for wireless interfaces is a better way to go.
Files
Updated by Andre Keller about 13 years ago
- File globals.patch globals.patch added
There is another part to this in inc/globals.inc
Updated by Andre Keller about 13 years ago
- File interfaces.patch interfaces.patch added
Please Ignore int_family.patch
Updated by Renato Botelho almost 12 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 2ccac12588f59039c88d06126762f41be2f65ce2.
Updated by Renato Botelho almost 12 years ago
- Status changed from Feedback to New
- Target version set to 2.1
- % Done changed from 100 to 0
Updated by Renato Botelho almost 12 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Updated by Renato Botelho over 11 years ago
- Status changed from Feedback to Resolved