Commit 3efb6e6b authored by Daniel Czerwonk's avatar Daniel Czerwonk Committed by GitHub

Update default_label_strategy.go

parent 6eff2642
......@@ -14,6 +14,7 @@ func (*DefaultLabelStrategy) labelNames() []string {
func (*DefaultLabelStrategy) labelValues(p *protocol.Protocol) []string {
return []string{p.Name, protoString(p), p.IpVersion}
func protoString(p *protocol.Protocol) string {
switch p.Proto {
case protocol.BGP:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment