diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-14 04:39:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-14 04:39:17 +0000 |
commit | ac1bb69d33a9ec9e9d53958810003b3b06570e91 (patch) | |
tree | e22e09b9990226571dfdb6cbb2513b9bcbbad76e /etc | |
parent | a57a45cb31165c13db99b5fff3c9bb6a145dd21b (diff) | |
download | pfsense-ac1bb69d33a9ec9e9d53958810003b3b06570e91.zip pfsense-ac1bb69d33a9ec9e9d53958810003b3b06570e91.tar.gz |
SInce we have some picky people to night its my turn:
* Remove trailing space ( BAD FOR HEADERS! )
* Eliminate braces for one line conditionals
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index d23bf93..05c1c37 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -982,10 +982,10 @@ function display_topbar($text = "", $bg_color="#990000", $replace_color="#FFFFFF ******/ function generate_random_mac() { $mac = "00:00"; - for($x=0; $x<4; $x++) { + for($x=0; $x<4; $x++) $mac .= ":" . dechex(rand(16, 255)); - } + return $mac; } -?> +?>
\ No newline at end of file |