diff options
author | Peng Xiao <xiaoquwl@gmail.com> | 2016-08-18 11:00:21 +0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-08-21 08:29:42 +0900 |
commit | b0bead46c891e9dcc3dd7e8d347fc460c8db78b0 (patch) | |
tree | 640b91614902905399bcfd6e49ce189ed2fb40e5 /table/destination.go | |
parent | 430a4f93e8ad9afdcca11aa167ea2f5513009a0d (diff) |
fixed some misspell error
Signed-off-by: Peng Xiao <xiaoquwl@gmail.com>
Diffstat (limited to 'table/destination.go')
-rw-r--r-- | table/destination.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/table/destination.go b/table/destination.go index d4c24fa2..f6b3f7f9 100644 --- a/table/destination.go +++ b/table/destination.go @@ -19,11 +19,12 @@ import ( "bytes" "encoding/binary" "fmt" + "net" + "sort" + log "github.com/Sirupsen/logrus" "github.com/osrg/gobgp/config" "github.com/osrg/gobgp/packet/bgp" - "net" - "sort" ) var SelectionOptions config.RouteSelectionOptionsConfig @@ -338,7 +339,7 @@ func (dest *Destination) explicitWithdraw() paths { isFound = true // this path is referenced in peer's adj-rib-in // when there was no policy modification applied. - // we sould flag IsWithdraw down after use to avoid + // we could flag IsWithdraw down after use to avoid // a path with IsWithdraw flag exists in adj-rib-in path.IsWithdraw = true matches = append(matches, withdraw) |