Update test_netaddr.py

This commit is contained in:
go-outside-helper 2024-03-14 17:24:54 +01:00 committed by GitHub
parent 63fd9fe798
commit 5ca68fb2a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,9 @@
#!/usr/bin/env python
__author__ = "bt3"
__author__ = "Mia Stein"
import netaddr
ip = '192.168.1.114'
if ip in netaddr.IPNetwork('192.168.1.0/24'):
print('OK!')
print('OK!')