Project

General

Profile

Bug #14949 » 345ede29dbfad4afdf6b1d7afd73213158b41cce.patch

Jim Pingle, 11/09/2023 05:04 PM

View differences:

src/usr/local/www/interfaces.php
1993 1993
$types4 = ["ppp" => gettext("PPP"), "pppoe" => gettext("PPPoE"), "pptp" => gettext("PPTP"), "l2tp" => gettext("L2TP")];
1994 1994

  
1995 1995
if (!in_array(array_get_path($pconfig, 'type'), ["ppp", "pppoe", "pptp", "l2tp"]) ||
1996
   !array_key_exists(array_get_path($a_ppps, "{$pppid}/ports", []), get_configured_interface_list_by_realif())) {
1996
    !array_intersect_key(explode(",", array_get_path($a_ppps, "{$pppid}/ports", "")), get_configured_interface_list_by_realif())) {
1997 1997
	$types4 = array_merge(["none" => gettext("None"), "staticv4" => gettext("Static IPv4"), "dhcp" => gettext("DHCP")], $types4);
1998 1998
}
1999 1999

  
(2-2/3)