From b8c70991dea965d0913938a801e9d4e76ec61638 Mon Sep 17 00:00:00 2001
From: Saurabh Mohan <saurabh.mohan@vyatta.com>
Date: Tue, 18 Sep 2012 12:36:09 -0700
Subject: Bugfix 8359: When deleteing vti interface use tunnel interface mode
 ipip

---
 templates/interfaces/vti/node.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates/interfaces/vti/node.def')

diff --git a/templates/interfaces/vti/node.def b/templates/interfaces/vti/node.def
index 15ea2e3e..0b369f82 100644
--- a/templates/interfaces/vti/node.def
+++ b/templates/interfaces/vti/node.def
@@ -25,7 +25,7 @@ fi
 delete: 
   if [ -d /sys/class/net/$VAR(@) ] ; then
       ip link set $VAR(@) down
-      ip tunnel del $VAR(@) mode esp
+      ip tunnel del $VAR(@) mode ipip
   fi
 
 end: 
-- 
cgit v1.2.3

