I'm trying to setup a script using ipaddress module in python 3.x. I'm looking for making a parser looking for some info on public IP.
When checking the IP, I'm finding that ipaddress is not tagging as reserved the IP range 192.0.0.0/24.
From IETF docs :
192.0.0.0/24 192.0.0.0–192.0.0.255 Private network IETF Protocol Assignments.
From ipaddress docs :
is_reserved: True if the address is otherwise IETF reserved.
The code :
import ipaddress
print(ipaddress.ip_address("192.0.0.12").is_reserved)
Output :
False
Is there something I'm doing wrong ?