projects
/
dyn-nsupdate.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
port client script to python 3
[dyn-nsupdate.git]
/
server-scripts
/
checkip
1
#!/usr/bin/python
2
import os
3
4
# print headers
5
print "Content-Type: text/plain"
6
print ""
7
8
# print content
9
print os.environ["REMOTE_ADDR"]