git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix quoting - was totally wrong on f16
[plcapi.git]
/
PLC
/
Interfaces.py
diff --git
a/PLC/Interfaces.py
b/PLC/Interfaces.py
index
db8ef50
..
f4ddcc8
100644
(file)
--- a/
PLC/Interfaces.py
+++ b/
PLC/Interfaces.py
@@
-27,7
+27,7
@@
def valid_ipv4(ip):
def valid_ipv6(ip):
try:
- ip = socket.inet_ntop(socket.AF_INET6, socket.inet_pton(socket.AF_INET6, ip)
+ ip = socket.inet_ntop(socket.AF_INET6, socket.inet_pton(socket.AF_INET6, ip)
)
return True
except socket.error:
return False