From 272a034234bc6c59d358ba97d501cf6cc5d78f13 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Tue, 10 Jul 2018 17:49:27 +0200 Subject: [PATCH] add fastd public key to nodeinfo response --- data/nodeinfo.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/nodeinfo.go b/data/nodeinfo.go index 1b8e091..77cf40c 100644 --- a/data/nodeinfo.go +++ b/data/nodeinfo.go @@ -69,8 +69,9 @@ type Software struct { Version string `json:"version,omitempty"` } `json:"babeld,omitempty"` Fastd struct { - Enabled bool `json:"enabled,omitempty"` - Version string `json:"version,omitempty"` + Enabled bool `json:"enabled,omitempty"` + Version string `json:"version,omitempty"` + PublicKey string `json:"public_key,omitempty"` } `json:"fastd,omitempty"` Firmware struct { Base string `json:"base,omitempty"`