git://git.halfball.org
/
plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e088a
)
pkg/utils: fix docstring
author
Stefan Junker
<mail@stefanjunker.de>
Thu, 31 Mar 2016 09:50:18 +0000
(11:50 +0200)
committer
Stefan Junker
<mail@stefanjunker.de>
Thu, 31 Mar 2016 16:01:32 +0000
(18:01 +0200)
utils/utils.go
patch
|
blob
|
history
diff --git
a/utils/utils.go
b/utils/utils.go
index
5877fb6
..
ea29c96
100644
(file)
--- a/
utils/utils.go
+++ b/
utils/utils.go
@@
-12,7
+12,7
@@
const (
)
// Generates a chain name to be used with iptables.
-// Ensures that the generated chain name is
less than
+// Ensures that the generated chain name is
exactly
// maxChainLength chars in length
func FormatChainName(name string, id string) string {
chainBytes := sha512.Sum512([]byte(name + id))