Skip to content

Commit 8344a2a

Browse files
committed
updated README for list_vendors()
1 parent 2f10b46 commit 8344a2a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ instead of being completely random
1717
**vid_provided(_vid bytes_)** - specify the VID bytes when calling the function.
1818
Random device bytes will be generated.
1919

20+
**list_vendors(_file_)** - return a python list [] with valid vendors
21+
2022
Usage
2123
-----
2224

@@ -53,3 +55,9 @@ Provide the vendor bytes in a string. Generate Host bytes only
5355
g.vid_provided('AA:BB:CC')
5456
'AA:BB:CC:B8:B3:01'
5557
```
58+
59+
List valid vendor options as a list.
60+
```
61+
g.list_vendors('/usr/share/wireshark/manuf')
62+
['Vendor1','Vendor2','etc']
63+
```

0 commit comments

Comments
 (0)