summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/vpp/gre.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/vpp/gre.py b/python/vyos/ifconfig/vpp/gre.py
index e281574a2..7ab600998 100644
--- a/python/vyos/ifconfig/vpp/gre.py
+++ b/python/vyos/ifconfig/vpp/gre.py
@@ -34,7 +34,7 @@ class VPPGREInterface(Interface, VPPInterface):
MODE_MAP = {
'point-to-point': 0,
- 'point-to-multipoint': 1,
+ # 'point-to-multipoint': 1,
}
def __init__(self, ifname, config):
@@ -51,7 +51,7 @@ class VPPGREInterface(Interface, VPPInterface):
self.src_address = config.get('source_address')
self.dst_address = config.get('remote')
self.tunnel_type = self.TUNNEL_TYPE_MAP.get(config.get('tunnel_type'), 0)
- self.mode = self.MODE_MAP.get(config.get('mode'), 0)
+ self.mode = self.MODE_MAP['point-to-point']
def _create(self):
pass