summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_spf.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-10-13 00:10:50 +0200
committerChirag Shah <chirag@cumulusnetworks.com>2017-10-17 07:37:02 +0200
commit1ba43456a4e338217b7aaad0277cc87af406fdde (patch)
tree4b2739e1498d9f73f341fd552c5c2e0632c48e71 /ospf6d/ospf6_spf.c
parentMerge pull request #1290 from qlyoung/doc-commit-msgs (diff)
downloadfrr-1ba43456a4e338217b7aaad0277cc87af406fdde.tar.xz
frr-1ba43456a4e338217b7aaad0277cc87af406fdde.zip
ospf6d: Handle lsupdate upto max ospf6 payload
While traversing LSUpdate list, if LSUpdate message fills up (w/ LSAs) to the interface MTU size, Send the existing filled LSUpdate message if max payload exceeds max ospf6 payload, reset sendbuf (buffer) to fill rest of the remaining LSAs. Add relevant fields to debugs. Ticket:CM-18069 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_spf.c')
-rw-r--r--ospf6d/ospf6_spf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ospf6d/ospf6_spf.c b/ospf6d/ospf6_spf.c
index 2381318b2..4276f46c3 100644
--- a/ospf6d/ospf6_spf.c
+++ b/ospf6d/ospf6_spf.c
@@ -240,7 +240,8 @@ static char *ospf6_lsdesc_backlink(struct ospf6_lsa *lsa, caddr_t lsdesc,
}
if (IS_OSPF6_DEBUG_SPF(PROCESS))
- zlog_debug(" Backlink %s", (found ? "OK" : "FAIL"));
+ zlog_debug("Vertex %s Lsa %s Backlink %s", v->name, lsa->name,
+ (found ? "OK" : "FAIL"));
return found;
}