Skip to content

Commit 2a0240b

Browse files
committed
updated formatting
1 parent e3aeb93 commit 2a0240b

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,29 @@ Usage
2121
-----
2222

2323
Import and set up an object.
24-
`
25-
import generate_mac
26-
g = generate_mac.generate_mac
27-
`
24+
25+
`import generate_mac`
26+
`g = generate_mac.generate_mac`
27+
2828
Procedurely generated Vendor and Host bytes. Checks for broadcast bit
29+
2930
`g.total_random()`
31+
3032
'12:7E:C4:B5:F1:8E'
3133

3234
Read Vendor bytes from random line in a file. This has to be formated the same
3335
as wireshark's manuf file.
3436
`g.vid_file_random('/usr/share/wireshark/manuf'`
37+
3538
'00:55:DA:10:FB:D8'
3639

3740
Read from a manuf file like above, but find Vendor bytes belonging to a specific
3841
vendor, by name.
3942
`g.vid_file_vendor('/usr/share/wireshark/manuf', 'Apple')`
43+
4044
'94:0C:98:BC:74:1C'
4145

4246
Provide the vendor bytes in a string. Generate Host bytes only
4347
`g.vid_provided('AA:BB:CC')`
48+
4449
'AA:BB:CC:B8:B3:01'

0 commit comments

Comments
 (0)