summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_ecommunity.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2020-04-20 18:02:46 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2020-08-21 13:37:08 +0200
commitc6423c31530db0e54ad90fc330c13bca81c9a80a (patch)
treea193d5405d5ed76b3bc84e2e6ca618428ae52991 /bgpd/bgp_ecommunity.c
parenttopotest: add bgp flowspec ipv4/ipv6 test (diff)
downloadfrr-c6423c31530db0e54ad90fc330c13bca81c9a80a.tar.xz
frr-c6423c31530db0e54ad90fc330c13bca81c9a80a.zip
bgp, zebra: add some alignments with remarks from community
align the code to remarks from community. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_ecommunity.c')
-rw-r--r--bgpd/bgp_ecommunity.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c
index f45fa2bed..ce67abd36 100644
--- a/bgpd/bgp_ecommunity.c
+++ b/bgpd/bgp_ecommunity.c
@@ -792,6 +792,7 @@ static int ecommunity_rt_soo_str_internal(char *buf, size_t bufsz,
len = snprintf(buf, bufsz, "%s%u:%u", prefix, eas.as, eas.val);
} else {
/* this is an IPv6 ext community
+ * first 16 bytes stands for IPv6 addres
*/
memcpy(&eip6.ip, pnt, 16);
pnt += 16;