Skip to content

Commit

Permalink
Merge pull request #17711 from cscarpitta/fix/remove-srv6-locator-all…
Browse files Browse the repository at this point in the history
…oc-failure-tests

zebra: Remove tests for `srv6_locator_alloc` failure
  • Loading branch information
ton31337 authored Dec 23, 2024
2 parents e62c2f1 + 13f3c7c commit 61ba8b9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions zebra/zebra_srv6_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 61ba8b9

Please sign in to comment.