Bug #1621
closedSwitching WAN from type PPP to other leaves former port assigned
0%
Description
replacing description with actual problem found by Evgeny:
Whenever you set up WAN to PPP section <ppps><ppp><ports> in config.xml changes to whatever you shoos in "modem port" - for example /dev/cuau0. Then it is always presented in <input name="ppp_port" type="hidden" value="/dev/cuau0"> in interfaces.php. From now on you can't properly change WAN to PPTP or PPPoE as you can't get back em1 (or other ethernet interface), the page just does not provide you a choice for that.
I think "modem port" was wrongly introduced on this page interfaces.php as it links logical interface WAN-PPP to physical interface /dev/cuau0. All logical-physical links are defined under Interfaces->(assign), so this should go there as well. Or another way: physical part should be brought ino interfaces.php for PPTP and PPPoE.