Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
i42.hu DDNS kliens
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KSZK
i42.hu DDNS kliens
Commits
54a3b514
Commit
54a3b514
authored
9 years ago
by
Eckl, Máté
Browse files
Options
Downloads
Patches
Plain Diff
Kicsit könnyíti a tesztelésnél a hostnév váltását
parent
4f0afcf8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
update_i42_domain.py
+3
-2
3 additions, 2 deletions
update_i42_domain.py
with
3 additions
and
2 deletions
update_i42_domain.py
+
3
−
2
View file @
54a3b514
...
...
@@ -7,8 +7,9 @@ import socket
data_v4
=
"
token=%s&prefix=%s
"
%
(
MY_TOKEN
,
MY_PREFIX
)
data_v6
=
data_v4
server_v4
=
"
http://%s:10053
"
%
socket
.
getaddrinfo
(
"
ecklapos.sch.bme.hu
"
,
None
,
socket
.
AF_INET
)[
0
][
4
][
0
]
server_v6
=
"
http://[%s]:10053
"
%
socket
.
getaddrinfo
(
"
ecklapos.sch.bme.hu
"
,
None
,
socket
.
AF_INET6
)[
0
][
4
][
0
]
host
=
"
updater.i42.hu
"
server_v4
=
"
http://%s:10053
"
%
socket
.
getaddrinfo
(
host
,
None
,
socket
.
AF_INET
)[
0
][
4
][
0
]
server_v6
=
"
http://[%s]:10053
"
%
socket
.
getaddrinfo
(
host
,
None
,
socket
.
AF_INET6
)[
0
][
4
][
0
]
if
len
(
MY_IP_V4
)
>
0
:
data_v4
+=
"
&ip_address=%s
"
%
MY_IP_V4
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment