summaryrefslogtreecommitdiff
path: root/bgpd/bgp_lcommunity.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-08-05 16:29:52 +0300
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-08-05 16:29:52 +0300
commit639caccfebc9871d913d7b075430bdce0d60f2d3 (patch)
tree1575c03aeebe319034b89d75c071d6d2200c69a4 /bgpd/bgp_lcommunity.c
parent5f10f7804f0dc07d58173afda47b3067472e1b6f (diff)
bgpd: Fix misleading comments for some parts
Mostly just retrun => return and misleading comments at all. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_lcommunity.c')
-rw-r--r--bgpd/bgp_lcommunity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_lcommunity.c b/bgpd/bgp_lcommunity.c
index 6121c4905f..9d81968789 100644
--- a/bgpd/bgp_lcommunity.c
+++ b/bgpd/bgp_lcommunity.c
@@ -287,7 +287,7 @@ void lcommunity_unintern(struct lcommunity **lcom)
}
}
-/* Retrun string representation of communities attribute. */
+/* Return string representation of lcommunities attribute. */
char *lcommunity_str(struct lcommunity *lcom, bool make_json)
{
if (!lcom)