Actions
Bug #2571
closedCreating a IPv4 GRE tunnel in pfSense 2.1 results in no endpoint IP being set
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
-
Start date:
08/01/2012
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
Description
When attempting to create a IPv4 GRE tunnel via the web console, the after the GRE tunnel is created no endpoint IP is set on the GRE device.
We are presented with this message in the system log:
php: /interfaces.php: The command '/sbin/ifconfig gre0 10.71.71.2 netmask 255.255.255.252' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Destination address required'
I did some snooping in the code and found a typo in the "interface_gre_configure" function in /etc/inc/interfaces.inc. Around line 788, the line reads: {$gif['tunnel-local-addr']} changing this to {$gre['tunnel-local-addr']} solves the issue it seems.
Actions