diff options
| author | Ben Southgate <[email protected]> | 2015-12-02 23:02:18 -0800 |
|---|---|---|
| committer | Marak <[email protected]> | 2016-03-03 05:14:05 -0500 |
| commit | d2a70d71817e2b4e1062a0bc777933705bf1c626 (patch) | |
| tree | 0505dfb1579757fdf33051e9383100dc61ea3a95 /lib/internet.js | |
| parent | c4c7a695f8121566d3536997d118b3c85ddff188 (diff) | |
| download | faker-d2a70d71817e2b4e1062a0bc777933705bf1c626.tar.xz faker-d2a70d71817e2b4e1062a0bc777933705bf1c626.zip | |
remove Math.random() calls to utilize faker.seed()
Conflicts:
lib/internet.js
lib/random.js
Diffstat (limited to 'lib/internet.js')
| -rw-r--r-- | lib/internet.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internet.js b/lib/internet.js index 3b166de7..2d7ff530 100644 --- a/lib/internet.js +++ b/lib/internet.js @@ -284,7 +284,7 @@ var Internet = function (faker) { self.mac = function(){ var i, mac = ""; for (i=0; i < 12; i++) { - mac+= parseInt(Math.random()*16).toString(16); + mac+= faker.random.number(15).toString(16); if (i%2==1 && i != 11) { mac+=":"; } |
