summaryrefslogtreecommitdiffstats
path: root/lib/mpls.h
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2022-12-10 01:02:03 +0100
committerStephen Worley <sworley@nvidia.com>2023-02-14 00:12:05 +0100
commitd3909a21148ea49718d00f42c14b0b9bb0e07182 (patch)
tree7a6ded858568d4d80676af227170a2e575c6222a /lib/mpls.h
parentzebra: clang-format style fixes (diff)
downloadfrr-d3909a21148ea49718d00f42c14b0b9bb0e07182.tar.xz
frr-d3909a21148ea49718d00f42c14b0b9bb0e07182.zip
lib: remove unneeded parans on labl2str return
Remove unneeded parans on labl2str return. Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to '')
-rw-r--r--lib/mpls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mpls.h b/lib/mpls.h
index 100d67e94..069e560f8 100644
--- a/lib/mpls.h
+++ b/lib/mpls.h
@@ -233,7 +233,7 @@ static inline char *label2str(mpls_label_t label, enum lsp_types_t type,
snprintf(buf, len, "Reserved (%u)", label);
else
snprintf(buf, len, "%u", label);
- return (buf);
+ return buf;
}
}