summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-14 04:39:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-14 04:39:17 +0000
commitac1bb69d33a9ec9e9d53958810003b3b06570e91 (patch)
treee22e09b9990226571dfdb6cbb2513b9bcbbad76e /etc
parenta57a45cb31165c13db99b5fff3c9bb6a145dd21b (diff)
downloadpfsense-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.inc6
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
OpenPOWER on IntegriCloud