interfaces: short road to PPPoEv6 interface #6245

There's a bit too much trickery involving get_ppp_parent() inside
get_real_interface() which internally calls get_real_interface()
again and produces the mismatch we see.

We can safely assume that PPPoE always has a PPPoE device like the
IPv4 case and be done with it.
This commit is contained in:
Franco Fichtner 2023-01-14 11:19:54 +01:00
parent db2bcf716e
commit 9934ef0935

View File

@ -3467,6 +3467,8 @@ function get_real_interface($interface = 'wan', $family = 'all')
if ($family == 'inet6') {
switch ($cfg['ipaddrv6'] ?? '') {
case 'pppoev6':
break;
case '6rd':
case '6to4':
$realif = "{$interface}_stf";