Skip to content

Commit f8910c5

Browse files
committed
one more
1 parent 2b7caa5 commit f8910c5

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,27 @@ g = generate_mac.generate_mac
2929

3030
Procedurely generated Vendor and Host bytes. Checks for broadcast bit
3131

32+
```
3233
`g.total_random()`
3334
3435
'12:7E:C4:B5:F1:8E'
36+
```
3537

3638
Read Vendor bytes from random line in a file. This has to be formated the same
3739
as wireshark's manuf file.
38-
`g.vid_file_random('/usr/share/wireshark/manuf'`
39-
40+
```
41+
g.vid_file_random('/usr/share/wireshark/manuf')
4042
'00:55:DA:10:FB:D8'
43+
```
4144

4245
Read from a manuf file like above, but find Vendor bytes belonging to a specific
4346
vendor, by name.
44-
`g.vid_file_vendor('/usr/share/wireshark/manuf', 'Apple')`
45-
47+
```
48+
g.vid_file_vendor('/usr/share/wireshark/manuf', 'Apple')
4649
'94:0C:98:BC:74:1C'
50+
```
4751

4852
Provide the vendor bytes in a string. Generate Host bytes only
49-
`g.vid_provided('AA:BB:CC')`
50-
53+
```g.vid_provided('AA:BB:CC')
5154
'AA:BB:CC:B8:B3:01'
55+
```

0 commit comments

Comments
 (0)