diff options
-rw-r--r-- | internal/pkg/config/bgp_configs.go | 2 | ||||
-rw-r--r-- | pkg/packet/bgp/bgp.go | 2 | ||||
-rw-r--r-- | pkg/server/fsm.go | 2 | ||||
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/internal/pkg/config/bgp_configs.go b/internal/pkg/config/bgp_configs.go index d8b575b0..a49bfe57 100644 --- a/internal/pkg/config/bgp_configs.go +++ b/internal/pkg/config/bgp_configs.go @@ -2638,7 +2638,7 @@ type TimersState struct { // BGP last transitioned out of the Established state. Downtime int64 `mapstructure:"downtime" json:"downtime,omitempty"` // original -> gobgp:update-recv-time - // The number of seconds elasped since January 1, 1970 UTC + // The number of seconds elapsed since January 1, 1970 UTC // last time the BGP session received an UPDATE message. UpdateRecvTime int64 `mapstructure:"update-recv-time" json:"update-recv-time,omitempty"` } diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go index d78e04b6..c66d4a70 100644 --- a/pkg/packet/bgp/bgp.go +++ b/pkg/packet/bgp/bgp.go @@ -12452,7 +12452,7 @@ type BGPNotification struct { func (msg *BGPNotification) DecodeFromBytes(data []byte, options ...*MarshallingOption) error { if len(data) < 2 { - return NewMessageError(BGP_ERROR_MESSAGE_HEADER_ERROR, BGP_ERROR_SUB_BAD_MESSAGE_LENGTH, nil, "Not all Notificaiton bytes available") + return NewMessageError(BGP_ERROR_MESSAGE_HEADER_ERROR, BGP_ERROR_SUB_BAD_MESSAGE_LENGTH, nil, "Not all Notification bytes available") } msg.ErrorCode = data[0] msg.ErrorSubcode = data[1] diff --git a/pkg/server/fsm.go b/pkg/server/fsm.go index 56b2c35e..6eadfa92 100644 --- a/pkg/server/fsm.go +++ b/pkg/server/fsm.go @@ -1865,7 +1865,7 @@ func (h *fsmHandler) loop(ctx context.Context, wg *sync.WaitGroup) error { } if oldState == bgp.BGP_FSM_ESTABLISHED { - // The main goroutine sent the notificaiton due to + // The main goroutine sent the notification due to // deconfiguration or something. reason := fsm.reason if fsm.h.sentNotification != nil { diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index c2b3102b..9379f6d5 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -263,7 +263,7 @@ module gobgp { leaf update-recv-time { type int64; description - "The number of seconds elasped since January 1, 1970 UTC + "The number of seconds elapsed since January 1, 1970 UTC last time the BGP session received an UPDATE message"; } } |