]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: Fix description for PIM_SG_LEN
authorSarita Patra <saritap@vmware.com>
Mon, 11 Jul 2022 11:56:29 +0000 (04:56 -0700)
committerSarita Patra <saritap@vmware.com>
Tue, 12 Jul 2022 11:46:56 +0000 (04:46 -0700)
Signed-off-by: Sarita Patra <saritap@vmware.com>
lib/prefix.h
pimd/pim_str.h

index 3a768572c479fc5658a9a8f3fbe6a103fbeec75c..7b2f889874982d744b921e1a114d762c8c1dce16 100644 (file)
@@ -352,7 +352,7 @@ union prefixconstptr {
 #define PREFIX_STRLEN 80
 
 /*
- * Longest possible length of a (S,G) string is 36 bytes
+ * Longest possible length of a (S,G) string is 34 bytes
  * 123.123.123.123 = 15 * 2
  * (,) = 3
  * NULL Character at end = 1
index 4a19ea7b35bf825efefc78b390ef687bbf012f1e..63f10e362ba050aaa191a05683d6de20e25ef7cc 100644 (file)
 #include "pim_addr.h"
 
 /*
- * Longest possible length of a (S,G) string is 36 bytes
+ * Longest possible length of a IPV4 (S,G) string is 34 bytes
  * 123.123.123.123 = 16 * 2
  * (,) = 3
  * NULL Character at end = 1
- * (123.123.123.123,123,123,123,123)
+ * (123.123.123.123,123.123.123.123)
  */
 #define PIM_SG_LEN PREFIX_SG_STR_LEN
+
 #define pim_inet4_dump prefix_mcast_inet4_dump
 
 void pim_addr_dump(const char *onfail, struct prefix *p, char *buf,