From 686131c2c99278fa9bee62de65987ff03c0677e0 Mon Sep 17 00:00:00 2001
From: Viacheslav <v.gletenko@vyos.io>
Date: Mon, 27 Sep 2021 10:59:51 +0000
Subject: ospfv3: T3858: Fix for delete correct v6 router-id

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

(limited to 'templates/protocols/ospfv3/node.def')

diff --git a/templates/protocols/ospfv3/node.def b/templates/protocols/ospfv3/node.def
index 4bf54837..eef12b15 100644
--- a/templates/protocols/ospfv3/node.def
+++ b/templates/protocols/ospfv3/node.def
@@ -12,6 +12,6 @@ begin: if [ "$COMMIT_ACTION" != DELETE ]; then
          sudo vtysh --writeconfig --noerror
        fi
 end: if [ "$COMMIT_ACTION" == DELETE ]; then
-       vtysh -c "configure terminal" -c "router ospf6" -c "no router-id"
+       vtysh -c "configure terminal" -c "router ospf6" -c "no ospf6 router-id"
        vtysh -c "configure terminal" -c "no router ospf6"
      fi
-- 
cgit v1.2.3

