diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-05-23 23:04:28 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-05-23 23:04:28 +0200 |
commit | e2b6e6042a43a5beb6de3dd12d4f8a811a8f4dc9 (patch) | |
tree | fad70c11334187f82a7db3cb8458b2055ddc7393 /etc | |
parent | 7c0571ce97992a41e6993c51b8a01ac9c5a4b404 (diff) | |
download | pfsense-e2b6e6042a43a5beb6de3dd12d4f8a811a8f4dc9.zip pfsense-e2b6e6042a43a5beb6de3dd12d4f8a811a8f4dc9.tar.gz |
Also process v4 gateways on v4 gif tunnels
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 0a71138..e3cfaff 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -814,6 +814,10 @@ function interface_gif_configure(&$gif, $gifkey = "") { $iflist = get_configured_interface_list(); foreach($iflist as $ifname) { if($config['interfaces'][$ifname]['if'] == $gifif) { + if(get_interface_gateway($ifname)) { + system_routing_configure($ifname); + break; + } if(get_interface_gateway_v6($ifname)) { system_routing_configure($ifname); break; |