File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ there may not be cache entry for it. You can refresh the cache, by trying to
33
33
communicate with IP (e.g. by sending and ICMP Echo-Request aka ping) before
34
34
probing the ARP cache.
35
35
36
- Let's assume your current machine has the address ``192.168.1 .10 `` and
37
- another machine with the address ``192.168.1 .1 `` is on the same subnet:
36
+ Let's assume your current machine has the address ``192.0.2 .10 `` and
37
+ another machine with the address ``192.0.2 .1 `` is on the same subnet:
38
38
39
39
.. code :: python
40
40
41
41
>> > import arpreq
42
- >> > arpreq.arpreq(' 192.168.1 .1' )
42
+ >> > arpreq.arpreq(' 192.0.2 .1' )
43
43
' 00:11:22:33:44:55'
44
44
45
45
If an IP address can not be resolved to an MAC address, None is returned.
@@ -73,7 +73,7 @@ returned as native bytes when using the ``arpreqb`` function:
73
73
74
74
>> > arpreq.arpreqb(' 127.0.0.1' )
75
75
b ' \x00\x00\x00\x00\x00\x00 '
76
- >> > arpreq.arpreqb(' 192.168.1 .1' )
76
+ >> > arpreq.arpreqb(' 192.0.2 .1' )
77
77
b ' \x00\x11 "3DU'
78
78
79
79
Supported Platforms
You can’t perform that action at this time.
0 commit comments