summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp/bgp.go
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-10-12 11:37:54 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-11-01 21:56:21 +0900
commitd8a897a0dd04a0d641ea10622180938c76f8e924 (patch)
treeeb803e611de80e3ab41f1470be3702387a662327 /packet/bgp/bgp.go
parentfbc493411b3656c97cc979d086e5eecb942859c1 (diff)
Fix some typos found by spell checker
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'packet/bgp/bgp.go')
-rw-r--r--packet/bgp/bgp.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet/bgp/bgp.go b/packet/bgp/bgp.go
index fb9e2a1c..babfd96f 100644
--- a/packet/bgp/bgp.go
+++ b/packet/bgp/bgp.go
@@ -2966,7 +2966,7 @@ func parseDecValuesCmd(myCmd string, validationFunc func(int) error) ([][2]int,
return nil, err
}
} else {
- err := fmt.Errorf("Malformated not or equal operator")
+ err := fmt.Errorf("Malformed not or equal operator")
return nil, err
}
case "t", "f": // we could be facing true or false, let's check
@@ -6117,7 +6117,7 @@ func (s ValidationState) String() string {
case VALIDATION_STATE_INVALID:
return "invalid"
}
- return fmt.Sprintf("unknown validatation state(%d)", s)
+ return fmt.Sprintf("unknown validation state(%d)", s)
}
type ValidationExtended struct {