summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-14 04:45:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-14 04:45:10 +0000
commitbf64c2d8cd4cf06bb4e5d660a01d176ba68319e6 (patch)
tree0705c748da90e8fe8ee7fbac0ec2a3666993c7ab /etc
parentac1bb69d33a9ec9e9d53958810003b3b06570e91 (diff)
downloadpfsense-bf64c2d8cd4cf06bb4e5d660a01d176ba68319e6.zip
pfsense-bf64c2d8cd4cf06bb4e5d660a01d176ba68319e6.tar.gz
File notices when we up and generate a replacement mac for ff:ff:ff:ff:ff:ff
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index d64ab3c..a7f2a84 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -107,6 +107,7 @@ function interfaces_lan_configure() {
" link " . escapeshellarg($random_mac));
$lancfg['spoofmac'] = $random_mac;
write_config();
+ file_notice("MAC Address altered", "The INVALID MAC address (ff:ff:ff:ff:ff:ff) on interface {$lancfg['if']) has been automatically replaced with {$random_mac}", "", "");
}
}
@@ -220,6 +221,7 @@ function interfaces_optional_configure_if($opti) {
" link " . escapeshellarg($random_mac));
$optcfg['spoofmac'] = $random_mac;
write_config();
+ file_notice("MAC Address altered", "The INVALID MAC address (ff:ff:ff:ff:ff:ff) on interface {$optcfg['if']) has been automatically replaced with {$random_mac}", "", "");
}
/* media */
@@ -467,6 +469,7 @@ function interfaces_wan_configure() {
" link " . escapeshellarg($random_mac));
$wancfg['spoofmac'] = $random_mac;
write_config();
+ file_notice("MAC Address altered", "The INVALID MAC address (ff:ff:ff:ff:ff:ff) on interface {$wancfg['if']) has been automatically replaced with {$random_mac}", "", "");
}
}
OpenPOWER on IntegriCloud