Change name of function "interface_translate_type_to_real" to match what it's doing (or should be doing.)
Next commits will change functionality of this function because before now it's identical to "get_real_interface" function (because of bug mentioned below.) Also, replace interface_translate_type_to_real with get_real_interface in two places for wireless functionality. I don't think they expect the result produced by interface_translate_type_to_real. Change from "type" it "ipaddr" in switch statement. "type" isn't a valid field in $config['interfaces']
Change name of function "interface_translate_type_to_real" to match what it's doing (or should be doing.)
Next commits will change functionality of this function because before now
it's identical to "get_real_interface" function (because of bug mentioned below.)
Also, replace interface_translate_type_to_real with get_real_interface in two places
for wireless functionality. I don't think they expect the result produced by interface_translate_type_to_real.
Change from "type" it "ipaddr" in switch statement. "type" isn't a valid field in $config['interfaces']