diff options
author | Colin Smith <colin@pfsense.org> | 2005-07-14 04:37:20 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-07-14 04:37:20 +0000 |
commit | a57a45cb31165c13db99b5fff3c9bb6a145dd21b (patch) | |
tree | c792c60a42225a26eba9fd1628653811dc156e66 /etc | |
parent | 4d0274920b49cbafbf890213e21c3123bbac42b9 (diff) | |
download | pfsense-a57a45cb31165c13db99b5fff3c9bb6a145dd21b.zip pfsense-a57a45cb31165c13db99b5fff3c9bb6a145dd21b.tar.gz |
Minor cleanups.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 34d7125..d23bf93 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -983,8 +983,7 @@ function display_topbar($text = "", $bg_color="#990000", $replace_color="#FFFFFF function generate_random_mac() { $mac = "00:00"; for($x=0; $x<4; $x++) { - $mac .= ":"; - $mac .= dechex(rand(16, 255)); + $mac .= ":" . dechex(rand(16, 255)); } return $mac; } |