mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-24 19:59:34 +00:00
zebra: Remove tests for srv6_locator_alloc
failure
`srv6_locator_alloc` can never fail. Let's remove the tests for allocation failure. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
parent
e62c2f10bc
commit
13f3c7c679
@ -338,10 +338,6 @@ DEFUN_NOSH (srv6_locator,
|
||||
}
|
||||
|
||||
locator = srv6_locator_alloc(argv[1]->arg);
|
||||
if (!locator) {
|
||||
vty_out(vty, "%% Alloc failed\n");
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
locator->status_up = true;
|
||||
|
||||
VTY_PUSH_CONTEXT(SRV6_LOC_NODE, locator);
|
||||
|
Loading…
Reference in New Issue
Block a user