Commit 512efd9e52 for frr
commit 512efd9e52fe6a1d772b0a776ca4db4368e147a1
Author: Carmine Scarpitta <cscarpit@cisco.com>
Date: Thu Sep 17 08:40:08 2026 +0200
zebra: Remove redundant SRv6 locator node assignment
`VTY_PUSH_CONTEXT()` already sets `vty->node` when entering SRv6
locator configuration mode. Remove the duplicate assignment.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
diff --git a/zebra/zebra_srv6_vty.c b/zebra/zebra_srv6_vty.c
index ad9eb6306b..9dc8ecd096 100644
--- a/zebra/zebra_srv6_vty.c
+++ b/zebra/zebra_srv6_vty.c
@@ -813,7 +813,6 @@ DEFUN_NOSH (srv6_locator,
locator->status_up = true;
VTY_PUSH_CONTEXT(SRV6_LOC_NODE, locator);
- vty->node = SRV6_LOC_NODE;
return CMD_SUCCESS;
}