Project

General

Profile

« Previous | Next » 

Revision 26190b11

Added by Renato Botelho about 12 years ago

Take dynamic6 into consideration too

View differences:

etc/inc/gwlb.inc
368 368
				continue;
369 369

  
370 370
			/* if the gateway is dynamic and we can find the IPv4, Great! */
371
			if (empty($gateway['gateway']) || $gateway['gateway'] == "dynamic") {
371
			if (empty($gateway['gateway']) || $gateway['gateway'] == "dynamic" || $gateway['gateway'] == "dynamic6") {
372 372
				if ($gateway['ipprotocol'] == "inet") {
373 373
					/* we know which interfaces is dynamic, this should be made a function */
374 374
					$gateway['ipprotocol'] = "inet";

Also available in: Unified diff