summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_lcommunity.h
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2017-09-03 08:35:35 +0200
committerNigel Kukard <nkukard@lbsd.net>2017-09-03 08:35:53 +0200
commitf1e1e1c335a4e2078d3d1ff12e385bbe7172054c (patch)
tree6cb54b07f294662b2c10ce04d7627e6b7f87ed36 /bgpd/bgp_lcommunity.h
parentbgpd: Fixed incorrect MTYPE being used for large communites (diff)
downloadfrr-f1e1e1c335a4e2078d3d1ff12e385bbe7172054c.tar.xz
frr-f1e1e1c335a4e2078d3d1ff12e385bbe7172054c.zip
bgpd: Fixed some comments in bgp_lcommunity.h
Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
Diffstat (limited to '')
-rw-r--r--bgpd/bgp_lcommunity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_lcommunity.h b/bgpd/bgp_lcommunity.h
index 1a3304e71..7576d7a98 100644
--- a/bgpd/bgp_lcommunity.h
+++ b/bgpd/bgp_lcommunity.h
@@ -37,14 +37,14 @@ struct lcommunity {
/* Size of Extended Communities attribute. */
int size;
- /* Extended Communities value. */
+ /* Large Communities value. */
u_int8_t *val;
/* Human readable format string. */
char *str;
};
-/* Extended community value is eight octet. */
+/* Large community value is 12 octets. */
struct lcommunity_val {
char val[LCOMMUNITY_SIZE];
};