diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-06-28 11:23:32 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-06-28 11:23:32 +0545 |
commit | b98f601ed34b1a29db0fc8786f89227d77b5d61e (patch) | |
tree | e54920b909dbd5fc88c335368a7fab859927371b /etc/inc/gwlb.inc | |
parent | 198ac406ed9c26dba2839371ac242769007d69d1 (diff) | |
download | pfsense-b98f601ed34b1a29db0fc8786f89227d77b5d61e.zip pfsense-b98f601ed34b1a29db0fc8786f89227d77b5d61e.tar.gz |
Fix: Warning: preg_match(): No ending delimiter '/' found in /etc/inc/gwlb.inc on line 696
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 29b0064..2986a71 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -1,7 +1,7 @@ <?php /* Copyright (C) 2008 Bill Marquette, Seth Mos - Copyright (C) 2010 Ermal Luçi + Copyright (C) 2010 Ermal Lu�i All rights reserved. Redistribution and use in source and binary forms, with or without @@ -693,7 +693,7 @@ function return_gateway_groups_array() { $dfltgwdown = true; } if ($dfltgwdown == true && !empty($upgw)) { - if (preg_match("/dynamic", $gateways_arr[$upgw]['gateway'])) + if (preg_match("/dynamic/i", $gateways_arr[$upgw]['gateway'])) $gateways_arr[$upgw]['gateway'] = get_interface_gateway($gateways_arr[$upgw]['friendlyiface']); if (is_ipaddr($gateways_arr[$upgw]['gateway'])) { log_error("Default gateway down setting {$upgw} as default!"); |