fix all the typos across the project

This commit is contained in:
Di Xu
2018-02-09 14:53:53 +08:00
parent aee2cff1b8
commit 48388fec7e
222 changed files with 320 additions and 320 deletions

View File

@@ -97,8 +97,8 @@ func (*FakeIPTables) AddReloadFunc(reloadFunc func()) {}
func (*FakeIPTables) Destroy() {}
func getToken(line, seperator string) string {
tokens := strings.Split(line, seperator)
func getToken(line, separator string) string {
tokens := strings.Split(line, separator)
if len(tokens) == 2 {
return strings.Split(tokens[1], " ")[0]
}