diff options
author | smos <seth.mos@dds.nl> | 2012-06-09 17:00:30 +0200 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2012-06-09 17:08:02 +0200 |
commit | fa3e5c05fa1f5c4d2a3d4c2f6cbcd798e35bb8b2 (patch) | |
tree | 717c9b8080471b782bed36dbfe0fbe26aba38f32 /etc/inc/gwlb.inc | |
parent | 632e7733196987ae52a71330913f4b8de669bda1 (diff) | |
download | pfsense-fa3e5c05fa1f5c4d2a3d4c2f6cbcd798e35bb8b2.zip pfsense-fa3e5c05fa1f5c4d2a3d4c2f6cbcd798e35bb8b2.tar.gz |
Needs a default case so IPv6 interfaces are resolved to a real interface
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 2a9dc41..cf982af 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -417,6 +417,9 @@ function return_gateways_array($disabled = false, $localhost = false) { case "6to4": $gateway['interface'] = "stf0"; break; + default: + $gateway['interface'] = get_real_interface($gateway['interface']); + break; } } if($gateway['ipprotocol'] == "inet") { |