diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-20 18:06:48 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-20 18:06:48 +0000 |
commit | c615128d37f4a2a3fc486ddbb22f350e1ae42727 (patch) | |
tree | dc1b52a3e7431eaca2cdceeb8eb2e28739b3a638 /etc | |
parent | 14cbafe826c7b2625425befe9f1574047abb2b43 (diff) | |
download | pfsense-c615128d37f4a2a3fc486ddbb22f350e1ae42727.zip pfsense-c615128d37f4a2a3fc486ddbb22f350e1ae42727.tar.gz |
generate_random_mac() -> generate_random_mac_address()
Ticket #389
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 7fe3ec4..9d9dd1a 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -990,7 +990,7 @@ function display_topbar($text = "", $bg_color="#990000", $replace_color="#FFFFFF echo "</script>"; } -/****f* pfsense-utils/generate_random_mac +/****f* pfsense-utils/generate_random_mac_address * NAME * generate_random_mac - generates a random mac address * INPUTS @@ -998,7 +998,7 @@ function display_topbar($text = "", $bg_color="#990000", $replace_color="#FFFFFF * RESULT * $mac - a random mac address ******/ -function generate_random_mac() { +function generate_random_mac_address() { $mac = "00:a0:8e"; for($x=0; $x<3; $x++) $mac .= ":" . dechex(rand(16, 255)); |