summaryrefslogtreecommitdiffhomepage
path: root/packet
diff options
context:
space:
mode:
authorAntoine Eiche <antoine.eiche@cloudwatt.com>2016-06-27 08:16:20 +0000
committerAntoine Eiche <antoine.eiche@cloudwatt.com>2016-06-27 10:26:26 +0200
commit38230504ac1fb85409d382556d3e16e08149e399 (patch)
tree9bde60005ca61261245055d7f2d9745c1b40805a /packet
parentd321b9a628fe0482dcca3abce5609429d61825ef (diff)
bgp: flat the VPN label
Diffstat (limited to 'packet')
-rw-r--r--packet/bgp/bgp.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/packet/bgp/bgp.go b/packet/bgp/bgp.go
index 5352e825..8a793720 100644
--- a/packet/bgp/bgp.go
+++ b/packet/bgp/bgp.go
@@ -7161,6 +7161,7 @@ func (l *LabeledVPNIPAddrPrefix) Flat() map[string]string {
"Prefix": l.IPAddrPrefixDefault.Prefix.String(),
"PrefixLen": fmt.Sprintf("%d", prefixLen),
"NLRI": l.String(),
+ "Label": l.Labels.String(),
}
}