[TASK] implement gateway_nexthop (#39)

https://github.com/freifunk-gluon/gluon/pull/795
This commit is contained in:
Geno 2017-03-13 12:15:22 +01:00 committed by GitHub
parent 8fcf9c496e
commit a68e13d311
1 changed files with 11 additions and 10 deletions

View File

@ -16,6 +16,7 @@ type Statistics struct {
Idletime float64 `json:"idletime,omitempty"` Idletime float64 `json:"idletime,omitempty"`
GatewayIPv4 string `json:"gateway,omitempty"` GatewayIPv4 string `json:"gateway,omitempty"`
GatewayIPv6 string `json:"gateway6,omitempty"` GatewayIPv6 string `json:"gateway6,omitempty"`
GatewayNexthop string `json:"gateway_nexthop,omitempty"`
Processes struct { Processes struct {
Total uint32 `json:"total"` Total uint32 `json:"total"`
Running uint32 `json:"running"` Running uint32 `json:"running"`