]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43750: Fix incorrect reference to PACKET_MULTIHOST in the docs (GH-25241)
authorZackery Spytz <zspytz@gmail.com>
Sat, 29 May 2021 22:46:01 +0000 (15:46 -0700)
committerGitHub <noreply@github.com>
Sat, 29 May 2021 22:46:01 +0000 (19:46 -0300)
It should be PACKET_MULTICAST, not PACKET_MULTIHOST.

Doc/library/socket.rst

index 8a1fc96e0362e26ce1298423a85dc8cbfdf8d9c0..da3d0d8f1e1b0b5fde762dcca3555bfd9672ea1b 100755 (executable)
@@ -188,7 +188,7 @@ created.  Socket addresses are represented as follows:
 
     - ``PACKET_HOST`` (the default) - Packet addressed to the local host.
     - ``PACKET_BROADCAST`` - Physical-layer broadcast packet.
-    - ``PACKET_MULTIHOST`` - Packet sent to a physical-layer multicast address.
+    - ``PACKET_MULTICAST`` - Packet sent to a physical-layer multicast address.
     - ``PACKET_OTHERHOST`` - Packet to some other host that has been caught by
       a device driver in promiscuous mode.
     - ``PACKET_OUTGOING`` - Packet originating from the local host that is