Project

General

Profile

« Previous | Next » 

Revision b7475a81

Added by Ermal LUÇI about 14 years ago

Correct the interface alias generation. Wrong copy-pasto before.

View differences:

etc/inc/filter.inc
513 513
	$aliases = "loopback = \"{ lo0 }\"\n";
514 514

  
515 515
	foreach ($FilterIflist as $if => $ifcfg) {
516
		if (is_array($ifcfg['pppoe'])) {
517
			if ($ifcfg['pppoe'][0]['if'] == 'pppoe') {
518
				$aliases .= "{$ifcfg['pppoe'][0]['descr']} = \"{ {$ifcfg['pppoe'][0]['if']}";
516
		if (is_array($ifcfg[0])) {
517
			if ($ifcfg[0]['if'] == 'pppoe') {
518
				$aliases .= "{$ifcfg[0]['descr']} = \"{ {$ifcfg[0]['if']}";
519 519
				$aliases .= " }\"\n";
520 520
			}
521 521
		} else {

Also available in: Unified diff