Project

General

Profile

« Previous | Next » 

Revision 661c23ea

Added by Viktor Gurov over 3 years ago

GRE/GIF interface configure fix. Issue #12288

View differences:

src/etc/inc/interfaces.inc
4192 4192
	}
4193 4193

  
4194 4194
	/* Need to check that the interface exists or not in the case where its coming back from disabled state see #3270 */
4195
	if ((!platform_booting() && !does_interface_exist($interface_to_check)) ||
4196
	    (in_array(substr($realif, 0, 3), array("gre", "gif", "ips")) && !does_interface_exist($realif))) {
4195
	if (!platform_booting() && (in_array(substr($realif, 0, 3), array("gre", "gif")) ||
4196
	    !does_interface_exist($interface_to_check))) {
4197 4197
		interface_virtual_create($interface_to_check);
4198 4198
	}
4199 4199

  
4200

  
4201 4200
	/* Disable Accepting router advertisements unless specifically requested */
4202 4201
	if ($g['debug']) {
4203 4202
		log_error(sprintf(gettext("Deny router advertisements for interface %s"), $interface));

Also available in: Unified diff