Browse Source

Update network.go

Alex 4 years ago
parent
commit
0d526aee74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/network.go

+ 1 - 1
models/network.go

@@ -15,7 +15,7 @@ type Network struct {
 	NetID string `json:"netid" bson:"netid" validate:"required,netid_valid,min=1,max=12"`
 	NodesLastModified	int64 `json:"nodeslastmodified" bson:"nodeslastmodified"`
 	NetworkLastModified int64 `json:"networklastmodified" bson:"networklastmodified"`
-	DefaultInterface	string `json:"defaulinterface" bson:"defaultinterface"`
+	DefaultInterface	string `json:"defaultinterface" bson:"defaultinterface"`
         DefaultListenPort      int32 `json:"defaultlistenport,omitempty" bson:"defaultlistenport,omitempty" validate:"omitempty,numeric,min=1024,max=65535"`
         DefaultPostUp  string `json:"defaultpostup" bson:"defaultpostup"`
         DefaultPostDown   string `json:"defaultpreup" bson:"defaultpreup"`