Fix: missing JSON struct tags on hooks

This commit is contained in:
kayos@tcp.direct 2023-12-01 23:24:58 -08:00
parent 8e80c205c6
commit 321edb324b
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

@ -14,13 +14,13 @@ import (
type Hooks struct {
// PreUp of the interface
PreUp []string
PreUp []string `json:"pre_up,omitempty"`
// PostUp of the interface
PostUp []string
PostUp []string `json:"post_up,omitempty"`
// PreDown of the interface
PreDown []string
PreDown []string `json:"pre_down,omitempty"`
// PostDown of the interface
PostDown []string
PostDown []string `json:"post_down,omitempty"`
}
type AddressConfig uint8