summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-02-21 11:16:58 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-02-21 11:16:58 -0300
commit873e49ec1cf3a291c9267a5efca70d74481a126b (patch)
tree240d2e972f0230158df00a078c8e5eb3314e621e /etc
parent42fa2c01422e57fddea07352029530ace34363c4 (diff)
downloadpfsense-873e49ec1cf3a291c9267a5efca70d74481a126b.zip
pfsense-873e49ec1cf3a291c9267a5efca70d74481a126b.tar.gz
Set if interface is enable before try to configure static arp. Fixes #1988
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index d3d21a1..58066a2 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -4736,7 +4736,7 @@ function interfaces_staticarp_configure($if) {
$ifcfg = $config['interfaces'][$if];
- if (empty($if) || empty($ifcfg['if']))
+ if (empty($if) || empty($ifcfg['if']) || !isset($ifcfg['enable']))
return 0;
/* Enable staticarp, if enabled */
OpenPOWER on IntegriCloud