mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
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:
parent
db2bcf716e
commit
9934ef0935
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user