minor tweaks for multi-line nsupdate
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
package nsupdate
|
||||
|
||||
type NsUpdateStruct struct {
|
||||
Key KeyStruct `json:"key" yaml:"key"`
|
||||
Key KeyStruct `json:"key" yaml:"key"`
|
||||
Server string `json:"server" yaml:"server"`
|
||||
Port int `json:"port" yaml:"port"`
|
||||
Zone string `json:"zone" yaml:"zone"`
|
||||
}
|
||||
|
||||
type KeyStruct struct {
|
||||
Label string `json:"key-label" yaml:"key-label"`
|
||||
Algorithm string `json:"algorithm" yaml:"algorithm"`
|
||||
Secret string `json:"Secret" yaml:"secret"`
|
||||
Secret string `json:"secret" yaml:"secret"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user