Bug #2571
Creating a IPv4 GRE tunnel in pfSense 2.1 results in no endpoint IP being set
| Status: | Resolved | Start date: | 08/01/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | Interfaces | |||
| Target version: | - | |||
| 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.
Associated revisions
Correct variable name. Fixes #2571
History
#1
Updated by Jim P 11 months ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset bfede3d446d288f014af12ab28614736859ed917.
#2
Updated by Chris Buechler 8 months ago
- Status changed from Feedback to Resolved