From: Carmine Scarpitta Date: Sun, 22 Sep 2024 14:40:30 +0000 (+0200) Subject: zebra: Fix missing blank line checkpatch warning X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F16836%2Fhead;p=mirror%2Ffrr.git zebra: Fix missing blank line checkpatch warning Signed-off-by: Carmine Scarpitta --- diff --git a/zebra/zebra_srv6_vty.c b/zebra/zebra_srv6_vty.c index 3ecc8b39ab..27fe83a7ca 100644 --- a/zebra/zebra_srv6_vty.c +++ b/zebra/zebra_srv6_vty.c @@ -752,6 +752,7 @@ DEFUN (no_srv6_locator, struct listnode *node, *nnode; struct zebra_srv6_sid_ctx *ctx; struct srv6_locator *locator = zebra_srv6_locator_lookup(argv[2]->arg); + if (!locator) { vty_out(vty, "%% Can't find SRv6 locator\n"); return CMD_WARNING_CONFIG_FAILED;