diff options
author | Antoine Eiche <antoine.eiche@cloudwatt.com> | 2016-06-27 08:16:20 +0000 |
---|---|---|
committer | Antoine Eiche <antoine.eiche@cloudwatt.com> | 2016-06-27 10:26:26 +0200 |
commit | 38230504ac1fb85409d382556d3e16e08149e399 (patch) | |
tree | 9bde60005ca61261245055d7f2d9745c1b40805a | |
parent | d321b9a628fe0482dcca3abce5609429d61825ef (diff) |
bgp: flat the VPN label
-rw-r--r-- | packet/bgp/bgp.go | 1 |
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(), } } |