summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gobgp/global.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/gobgp/global.go b/cmd/gobgp/global.go
index 9017c0d3..024654ac 100644
--- a/cmd/gobgp/global.go
+++ b/cmd/gobgp/global.go
@@ -202,6 +202,8 @@ func encapParser(args []string) ([]bgp.ExtendedCommunityInterface, error) {
typ = bgp.TUNNEL_TYPE_MPLS
case "mpls-in-gre":
typ = bgp.TUNNEL_TYPE_MPLS_IN_GRE
+ case "mpls-in-udp":
+ typ = bgp.TUNNEL_TYPE_MPLS_IN_UDP
case "vxlan-gre":
typ = bgp.TUNNEL_TYPE_VXLAN_GRE
default: