Revision 9cf1dbff
Added by Stuart Wyatt over 10 years ago
etc/inc/interfaces.inc | ||
---|---|---|
5425 | 5425 |
foreach ($config['interfaces'] as $ifdescr => $ifname) { |
5426 | 5426 |
switch ($ifname['ipaddr']) { |
5427 | 5427 |
case "dhcp": |
5428 |
case "ppp"; |
|
5429 | 5428 |
case "pppoe": |
5430 | 5429 |
case "pptp": |
5431 | 5430 |
case "l2tp": |
5432 |
case "ppp";
|
|
5431 |
case "ppp":
|
|
5433 | 5432 |
$ints[$ifdescr] = $ifdescr; |
5434 | 5433 |
break; |
5435 | 5434 |
default: |
... | ... | |
5454 | 5453 |
case "pppoe": |
5455 | 5454 |
case "pptp": |
5456 | 5455 |
case "l2tp": |
5457 |
case "ppp";
|
|
5456 |
case "ppp":
|
|
5458 | 5457 |
return true; |
5459 | 5458 |
break; |
5460 | 5459 |
default: |
Also available in: Unified diff
Remove duplicate 'ppp' case in switch statement