Project

General

Profile

Actions

Bug #1987

closed

GRE tunnel - Route search type

Added by Serghei Gutanu almost 14 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
11/01/2011
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

When configuring GRE tunnels, you have the option "Route search type", which should activate the LINK1 flag to the GRE interface, but when you enable this option, the flag actually isn't activated.

After digging a little, I saw that when activating the option, the <link1/> statement is added to the config.xml, GRE section.
In /etc/inc/interfaces.inc, we have:
if (isset($gre['link1']) && $gre['link1'])
pfSense_interface_flags($greif, IFF_LINK1);

The IF statement returns FALSE, this way the flag LINK1 isn't added.

Of course, there is at least one workarround, but it would be great that this issue would be fixed.

Thank you.
Serghei Gutanu

Actions

Also available in: Atom PDF