summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhrdtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/helsinki.at/rhrdtime')
-rw-r--r--src/helsinki.at/rhrdtime/rhrdtime.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helsinki.at/rhrdtime/rhrdtime.go b/src/helsinki.at/rhrdtime/rhrdtime.go
index 806e64e..af51902 100644
--- a/src/helsinki.at/rhrdtime/rhrdtime.go
+++ b/src/helsinki.at/rhrdtime/rhrdtime.go
@@ -180,9 +180,9 @@ func RunMartini(ps *pubsub.PubSub, addr string) {
m.Get("/time", func(w http.ResponseWriter, r *http.Request) {
handleTimeUpdateClient(w, r, ps)
})
- // m.Get("/ntp", func(w http.ResponseWriter, r *http.Request) {
- // handleTimeUpdateClient(w, r, ps)
- // })
+ m.Get("/ntp", func(w http.ResponseWriter, r *http.Request) {
+ handleNTPClient(w, r, ps)
+ })
m.RunOnAddr(addr)
}