Skip to content

Commit

Permalink
Fix wrong literal (mask instead of netmask)
Browse files Browse the repository at this point in the history
Fixes issue #16
  • Loading branch information
SamuelYvon committed Mar 7, 2023
1 parent 897a107 commit 4971c27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion netifaces/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ class InterfaceType(IntEnum):

InterfaceName = str
AddressType = Union[
Literal["addr"], Literal["peer"], Literal["netmask"], Literal["broadcast"]
Literal["addr"],
Literal["peer"],
Literal["mask"],
Literal["broadcast"],
]
Address = str

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "maturin"
[project]
name = "netifaces2"
description = "Portable network interface information"
version = "0.0.15"
version = "0.0.16"
requires-python = ">=3.7"
readme = "README.md"
license = {file = "LICENSE"}
Expand Down

0 comments on commit 4971c27

Please sign in to comment.