diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-18 02:37:44 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-18 02:37:44 +0000 |
commit | 9315ef8325d72693962ca3c979b4570d999d7233 (patch) | |
tree | d312d45019b4e13f6c0eb9a5a42067a048d53a92 /etc | |
parent | 943205065992c481793fe09df50457ae5107a724 (diff) | |
download | pfsense-9315ef8325d72693962ca3c979b4570d999d7233.zip pfsense-9315ef8325d72693962ca3c979b4570d999d7233.tar.gz |
Alert when creating random mac address
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 0864391..1542137 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -102,6 +102,7 @@ function interfaces_lan_configure() { /* this is not a valid mac address. generate a * temporary mac address so the machine can get online. */ + echo "Generating new MAC address."; $random_mac = generate_random_mac_address(); mwexec("/sbin/ifconfig " . escapeshellarg($lancfg['if']) . " link " . escapeshellarg($random_mac)); @@ -216,6 +217,7 @@ function interfaces_optional_configure_if($opti) { /* this is not a valid mac address. generate a * temporary mac address so the machine can get online. */ + echo "Generating new MAC address."; $random_mac = generate_random_mac_address(); mwexec("/sbin/ifconfig " . escapeshellarg($optcfg['if']) . " link " . escapeshellarg($random_mac)); @@ -465,6 +467,7 @@ function interfaces_wan_configure() { /* this is not a valid mac address. generate a * temporary mac address so the machine can get online. */ + echo "Generating new MAC address."; $random_mac = generate_random_mac_address(); mwexec("/sbin/ifconfig " . escapeshellarg($wancfg['if']) . " link " . escapeshellarg($random_mac)); |